File transfer in Linux : FTP in linux : Shell script to file trnsfer

linux file transer script

This script use to transfer file from linux to ftp server. You can automate this file transfer by putting this file in cronjob also. #!/bin/sh HOST=’ftp.users.qwest.net’ USER=’yourid’ PASSWD=’yourpw’ FILE=’file.txt’ ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE quit END_SCRIPT exit 0  Please note that : Using the -n option on the ftp client … Read more