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

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

I have seen a working ftp upload script on this same forum just browse to page 3 or 4, you'll find it there.

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

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.