Daily Archives: February 27, 2014
FTP file transfer with an automated bash script
#!/bin/bash HOST=’your.ftp.site’ USER=’remoteusername’ PASSWD=’remotepasswd’ ftp -n -v $HOST << EOT ascii user $USER $PASSWD prompt cd upload ls -la bye EOT
#!/bin/bash HOST=’your.ftp.site’ USER=’remoteusername’ PASSWD=’remotepasswd’ ftp -n -v $HOST << EOT ascii user $USER $PASSWD prompt cd upload ls -la bye EOT
This slideshow requires JavaScript.