User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 397,849 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,387 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser:
Views: 3386 | Replies: 2
Reply
Join Date: Jun 2007
Posts: 2
Reputation: jethfo is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jethfo jethfo is offline Offline
Newbie Poster

Shell Script to Zip / FTP / Delete transactional files.

  #1  
Jun 7th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2007
Posts: 7
Reputation: slbit is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
slbit slbit is offline Offline
Newbie Poster

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

  #2  
Jun 11th, 2007
I have seen a working ftp upload script on this same forum just browse to page 3 or 4, you'll find it there.
Reply With Quote  
Join Date: Jul 2007
Posts: 1
Reputation: tabish.asm is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tabish.asm tabish.asm is offline Offline
Newbie Poster

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

  #3  
Jul 6th, 2007
Originally Posted by slbit View Post
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?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Shell Scripting Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Shell Scripting Forum

All times are GMT -4. The time now is 8:00 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC