panzerkampf39
August 13th, 2010, 11:22 AM
Hello,
I'm trying to write ftp login script. Something like that:
#!/bin/bash
yafc <<**
open login@login.com:passftp.server.com
dir
close
**
My ftp login is e-mail address and is being recognized by script like a hostname and i can't login to the server. What i have to do to make this script working? The escape sequence (/@) doesn't work.
Regards.
I'm trying to write ftp login script. Something like that:
#!/bin/bash
yafc <<**
open login@login.com:passftp.server.com
dir
close
**
My ftp login is e-mail address and is being recognized by script like a hostname and i can't login to the server. What i have to do to make this script working? The escape sequence (/@) doesn't work.
Regards.