| | |
Shell Script to Zip / FTP / Delete transactional files.
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2007
Posts: 2
Reputation:
Solved Threads: 0
Calling All Shell Scripters,
I am a web developer needing assistance from someone with shell scripting expertise. Does anyone have a unix shell script that can look into a directory and identify any "*.zip" files and ftp them to a remote server? Upon successful completion of the FTP transfer I want to delete the ZIP file from the local server.
I plan to automate this task using a CRON job & want to be sure a file does not get sent twice, which could potentially happen if the CRON job is called again while a file is still in transit.
Any assistance would be greatly appreciated!
Jeff
I am a web developer needing assistance from someone with shell scripting expertise. Does anyone have a unix shell script that can look into a directory and identify any "*.zip" files and ftp them to a remote server? Upon successful completion of the FTP transfer I want to delete the ZIP file from the local server.
I plan to automate this task using a CRON job & want to be sure a file does not get sent twice, which could potentially happen if the CRON job is called again while a file is still in transit.
Any assistance would be greatly appreciated!
Jeff
![]() |
Similar Threads
- For Pay Shell Script - Zip / FTP / Delete transactional files (Shell Scripting)
- c++ or shell script to delete some files (C++)
- How to delete files in UNIX using shell script (Shell Scripting)
- Why my shell script doesn't delete a file ?? (Shell Scripting)
Other Threads in the Shell Scripting Forum
- Previous Thread: how can i edit/change a line in a file?
- Next Thread: Shell script and awk
Views: 6160 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Shell Scripting





