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 have seen a working ftp upload script on this same forum just browse to page 3 or 4, you'll find it there.

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.