Another suggestion would be winbatch by window ware. Easy to write and compile. There are even examples of what your talking about.
 
Doug
----- Original Message -----
Sent: Monday, February 09, 2004 12:09 PM
Subject: RE: [WS_FTP Forum] Auto-delete files after time period


Scott,
If you are not familiar with VB, I've had lots of luck using VB forums on the web.  One good one is www.tek-tips.com .  You can post questions and usually get a good answer within a day.
Hope that helps.
Tracy   
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Gary Piccoli
Sent: Monday, February 09, 2004 1:00 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [WS_FTP Forum] Auto-delete files after time period

Scott:
 
This is not an easy task.  You will need to write VB scripts or use some other scripting language to delete the files and then use the "task scheduler" to schedule the task to run at a predetermined day(s) and time. 
 
I have written Pascal scripts to do this function and compiled them into an executable (.exe), but they will only work for the folders that I have defined in the scripts and on files older than n days as specified in the script.
 
Gary J. Piccoli
Colonial Computer Associates
Home of MuSoft 2000
-------Original Message-------
 
Date: 02/09/04 12:04:25
Subject: Re: [WS_FTP Forum] Auto-delete files after time period
 
Well, I guess I should've phrased my question better.  I think I can do this with a scheduled batch file or other program, but I haven't any idea as to how to write such a batch file or what kind of other software exists.  Has anyone needed to do this auto-deletion of files before, and if so, how did you do it.
----- Original Message -----
Sent: Monday, February 09, 2004 11:57 AM
Subject: RE: [WS_FTP Forum] Auto-delete files after time period

        This sounds like a job for a BATCH file that is triggered by your operating system scheduler.

-----Original Message-----
From: Scott Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 09, 2004 10:33 AM
To: WSFTP_Forum
Subject: [WS_FTP Forum] Auto-delete files after time period


Is there an easy way to say auto-delete anything in a folder that is more
than 2 days old?  I'm looking to have a generic uploads folder on our wsftp
server, but we don't want to have to keep it clean.  I'm guessing I could
use the Windows task scheduler, but I don't know what to schedule...

Scott Smith - IT Manager
Westside & Detroit Reprographics
248.489.1999 (Office)
248.467.0452 (Cell)
[EMAIL PROTECTED]


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


An Archive of this list is available at:
http://www.mail-archive.com/wsftp_forum%40list.ipswitch.com/

 

<<49_i_blue.gif>>

<<Cream_stripes_cream_border2.gif>>

Reply via email to