I have two windows 2000 boxes.  One of them (server A) is running WS_FTP server and 
SSH server the other (client B) has WS_FTP Pro client.

I have a script that runs on the WS_FTP Pro client (client B) as a scheduled task 
every hour.  It contacts the FTP server (server A), checks to see if there are any new 
files and FTPs them if there are.  Here is the problem.

I want to delete the files from the server once they have been transferred however, 
I'm using "mget *.txt" to get them and "mdelete *.txt" to 
delete them.  Normally this works great however, the server side is feed from yet 
another server and I'm afraid that an "mdelete *.txt" might
delete a file that transferred to (server A) between the initial "mget *.txt" and the 
"mdelete *.txt"  Is there anyway to ensure this doesn't happen?
It would be great if there was a way in the scripting language to get a directory 
listing prior to issuing the MGET command and then issuing is on a per file basis.  I 
could do this in UNIX but frankly I'm not that good in windows.  Anyone know how to do 
this?

David Compton (Dave)
Project Manager, IRM/OPS/MSO/MSP/PM
SA-34 (Room 2210A)
E-mail: [EMAIL PROTECTED]
Tel: 703-912-8483 Fax: 703-912-8668

This message is: UNCLASSIFIED in accordance with E.O. 12958



Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from 
this list.

Reply via email to