I can get ftp working from the command line like so :
ftp -nv << eod
open <myaddress>
user <username> <password>
get <filename>
quit
eod
but if i put this in a shell script I get unknown host and unknown hostrb.net when they're exactly the same. Surely it must be possible to ftp through a shell script?
Thanks,
Matt.
ftp -nv << eod
open <myaddress>
user <username> <password>
get <filename>
quit
eod
but if i put this in a shell script I get unknown host and unknown hostrb.net when they're exactly the same. Surely it must be possible to ftp through a shell script?
Thanks,
Matt.