I use -c and mput to do the same thing: lftp -c "set cmd:at-exit;debug 5; mput -O ftp://[EMAIL PROTECTED]/ftpdir/ file_to_put ;"
On Sun, 2004-07-25 at 19:17, Nick Benson wrote: > Hello - > > Could somebody please share an example of a script to be run with the > "lftp -f scriptname" command, that would connect to an ftp server, cd > to a directory, upload a file, and then disconnect? I have been > looking for an example but have been unsuccessful. > > Thanks in advance. > > - Nick Benson - >
