Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Tips and Tricks _ Automated Ftp Log-in

Posted by: beltucadros Jan 11 2005, 02:05 AM

USER=<username>
PASSWD=<pass>

cd <local directory> #Target dir for putting the file
ftp -n <server><<EOF
user $USER $PASSWD
cd <remote directory>
EOF

just use that as a shell script. i am a big fan of command line FTP and use a script simmilar to that to log on to my website

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)