Simple shell script in bash that can do the following:
Connect to FTP website – and download all files (pattern: AHM.*)
For each successful downloaded file – delete the file on the remote FTP server
Files should be processed in alphabetic order by using a sort command.
Create a loop that for each file will
- call a shell script with filename as a parameter
- move file to another directory
I have sample code for the script that download from FTP.
12 freelancere byder i gennemsnit $52 for dette job
It's simple task, and I can do it in few hours. configuration will be stored in separate file, for additional fee I can pack it to .rpm or .deb I will use ncftp and ncftpget commands.
Hello, We can do this for you. We have an almost similar script and only few modifications required to meet your requirements. Regards Support terminal