FTP_SUCK

Google
WWWtrimbletools.com

The FTP_SUCK system is designed to download and delete all files from a given directory on a FTP server. The is the equivalent of doing a MOVE

Usage FTP_SUCK.BAT server username password remote_directory local_directory [Not ZIP files]

For example FTP_SUCK ftp.trimble.com anonymous Grk@Trimble.Lan /pub/to_tac/gkirk/sm01C:\TRSDATA

If the extra paramter Not ZIP files in on the command line then no checking of the files will be done. If it is not there, then the file will be checked for errrors in the ZIP file. If there are errors then the file will automatically be deleted.

The system has three components the main batch file that does all the work

FTP_SUCK.AWK which processes a directory listing into a format that can be used to download

ZIP_TEST.AWK creates the batch file for the testing of the files.

Download the files, FTP_SUCK.BAT, FTP_SUCK.AWKZIP_TEST.AWK