Hi, I'm new to WS_FTP Pro and the WS_FTP Server but trying to learn. I'm attempting to set up an automated process between two servers. Server A has files in a "temp" that need to go to server B. Once there they need to be deleted from the "temp" directory on server A.
I believe that the only way to do this is to use ftpscrpt. Directory synchronizing doesn't allow me to delete files from the original directory and I don't want to move duplicate files from A to B nor can I allow the files to just grow on A. So the easiest thing I can think of is to delete from A after the transfer. Anyway here is a copy of the script I'm using. TRACE C:\temp\transfertrace.txt LOG C:\temp\transferlog.txt USER username1 PASS password1 CONNECT ftp_server CD /FTP LCD C:\temp\hold_files ONSUCCESS GOTO FILEDELETE ONERROR GOTO DISCONNECT MGET *.txt LABEL FILEDELETE MDELETE *.txt LABEL DISCONNECT CLOSE <<<<< End of script >>>>> I have checked the directory on server A and the user I'm logging is as has full control. It's the same username/group membership, etc on both servers. Both servers are running Windows 2000. When I view the transferlog.txt file after stepping through the script using FTP Script Manager I see that the files where in fact transferred. When it executes the MDELETE line I see it trying to delete the file and then it gets a permission denied error and goes the DISCONNECT label. I'm not understanding what's happening here. I understand the permission denied but not really why I'm getting it. Any thoughts? 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.
