944,117 Members | Top Members by Rank

Ad:
Jun 7th, 2007
0

Shell Script to Zip / FTP / Delete transactional files.

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jethfo is offline Offline
2 posts
since Jun 2007
Jun 11th, 2007
0

Re: Shell Script to Zip / FTP / Delete transactional files.

I have seen a working ftp upload script on this same forum just browse to page 3 or 4, you'll find it there.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
slbit is offline Offline
7 posts
since Jun 2007
Jul 6th, 2007
0

Re: Shell Script to Zip / FTP / Delete transactional files.

Click to Expand / Collapse  Quote originally posted by slbit ...
I have seen a working ftp upload script on this same forum just browse to page 3 or 4, you'll find it there.
where is the script?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tabish.asm is offline Offline
1 posts
since Jul 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: how can i edit/change a line in a file?
Next Thread in Shell Scripting Forum Timeline: Shell script and awk





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC