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.
Được trao cho:
12 freelancer đang chào giá trung bình $52 cho công việc này
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