Hi Jerry,
 
    You could actually SHELL out the MOVE command in the script:
 
LOG
TRACE
CONNECT
ONERROR GOTO FINISH
PUT filename
SHELL move c:\old\*.*  c:\new
FINISH
 
Julie I.
 
----- Original Message -----
Sent: Tuesday, September 16, 2003 4:32 PM
Subject: Re: [WS_FTP Forum]

Wouldn't the files move even if the transfer failed? How can
I keep that from happening? This script is for some users
that are not inclined to check log files.
Thanks,
Jerry
----- Original Message -----
Sent: Tuesday, September 16, 2003 3:18 PM
Subject: RE: [WS_FTP Forum]

Dear Jerry,

 

I only know the Windows side of things - so here's my solution:

 

Set up a DOS batch file and have it run in the Windows Scheduler at midnight. You can have the batch file execute your ws_ftp script, and then have it move the files to another directory. 

 

cd "c:\Program Files\WS_FTP Pro"

ftpscrpt -f c:\my_ftp.scp

move c:\old\*.*  c:\new

exit

 

Laima

 

-----Original Message-----
From: Jerry Becker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 2:28 PM
To: [EMAIL PROTECTED]
Subject: [WS_FTP Forum]

 

I want a script to send a group of files at midnight every night and then move the

files to a different directory if successful.  I have gotten the files to send but can't

figure out how to move if successful.  Can anyone help me?

Thanks,

 

Jerry

Reply via email to