This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Re: Automate FTP with macros

Posted by: Anonymous [ip: 122.29.250.141] on October 07, 2007 04:16 PM
on lftp you can make a script
#using automated solution non interactive mode
#create file with rules
vi configfile
#############################
open -u username.password IP
lcd directory
cd directory
mirror -Rv
bye
#############################
#Run the lftp with configuration file
lftp -f configfile

#

Return to Automate FTP with macros