Bob Alonso <[EMAIL PROTECTED]> wrote:
Date: Sun, 30 Nov 2003 22:43:21 -0800 (PST)
From: Bob Alonso <[EMAIL PROTECTED]>
Subject: RE: [WS_FTP Forum] rules
To: [EMAIL PROTECTED]

I generally log in to the machine that is the WSFTP host and write batch files (known as scripts by non-dos users) that take care of the job.  I try to train users to rename files they no longer want around to have the $$$ extension.  I then create a saved search that locates these and allowes me to do whatever I want to do with them.
 
Bob, MIS

"Fritzler, Laima" <[EMAIL PROTECTED]> wrote:

The following script connects to ServerB, moves the *.jpg's from my local directory to the folder indicated on ServerB, and then deletes the *.jpgs in the local folder by using the DOS shell.

 

log c:\abc.txt

CONNECT MySites!ServerB

cd images

onsuccess goto filedelete

onerror goto disconnect

mput c:\test\*.jpg

label filedelete

shell del c:\test\*.jpg

label disconnect

close

 

 

 

-----Original Message-----
From: George Hoy [mailto:[EMAIL PROTECTED]
Sent:
Monday, November 24, 2003 2:41 PM
To: [EMAIL PROTECTED]
Subject: [WS_FTP Forum] rules

 

I was wondering if anyone has an example batch file created for automatically moving uploaded files to a mapped network drive on another server and how to automatically delete files after they are moved. If you could send the syntax on how to create this batch file, that would be great.

 

Thanks

 

 

 

George Hoy

IT Technician

Ken Cook Co.

www.kencook.com

Phone: 414-466-6060 Ext. 207

 

Reply via email to