I need two FTP scripts written to help me copy uploaded files to several production servers.
FTP SCRIPT #1: Must work in a command-line batch environment on a Windows 2000 server. When ASP script receives a newly uploaded file, it calls a batch file which preps the file, and then will call this FTP script. The FTP script copies the file specified in the parameters and on success only (after some sort of verification), deletes the local file. The FTP script must accept the following parameters FTPSERVER FTPPASSWORD DESTINATIONDIR SOURCEFILE. This script must never delete the local file if the copy failed. It is acceptable if the copy succeeds and the file still exists under some circumstances.
FTP SCRIPT #2: Must work as a Windows 2000 service or be launched by a scheduling service with some advanced controls. Under normal circumstances, the script would run every 10 minutes or so. It will examine a folder of files, including subdirectories, and will attempt to copy each file up to the FTP server and then delete the file if the copy was successful (and verified) Since this script will need to run repeatedly, there must be a scheduling agent employed that can handle the case where the script takes longer to run than the scheduling interval (e.g. 10 minutes) This script needs to take the following parameters FTPSERVER FTPPASSWORD DESTINATIONDIR SOURCEDIR
Since the native FTP command-line client does not support atomic-uploads, some other tool will probably need to be employed.
IN YOUR BID.... please specify which command-line FTP tool you would recommend, what scheduling software you would recommend, and what experience you have with both tools. Please also comment on what benefits or limitations the tools you recommend have.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
Windows 2000 Server, Command-line batch environment / scheduled service