Help with a ftp script
Sorry if i have posted in wrong sections.
I need a little help creating a ftp script that will take connection and file details from text files. For example: ftpscript.sh - script that looks for details and does transfer ftpparams.txt - ftp server connection details in single line csv format ftpfiles.txt - files that need to be transfer, one file per line. I have tried using awk with no success, any help would really be appriciated. Thanks in advance |
I always like expect for scripting interactive sessions. This page is an introduction, and even includes an FTP-specific example.
|
scripting ftp
It sounds like you are trying to recreate features of lftp and ncftp.
You might look at them and see if one would serve your purposes better and be easier to automate as you wish than posix ftp. |
All times are GMT -5. The time now is 03:46 PM. |