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 freelancers are bidding on average $52 for this 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.