you can try this as well;
1) create a file with the following;
ftp hostname <<EOF
ascii
send filename
EOF
2) create a file called .netrc in the home directory with permissions of 400 ie (r-------- )
3) edit the .netrc to contain a line as below;
machine hostname login xxxxx password yyyyy
4)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.