| View previous topic :: View next topic |
| Author |
Message |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Tue Feb 06, 2007 1:47 pm Post subject: monitor and delete 0 kb size files |
|
|
user question:
We have a customer that we have an FTP Task setup to send several files to, but before the task is run, we need to delete all files in that folder that have a 0 kb size. Can a delete task be setup to do this that we can run prior to the FTP Task. |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Tue Feb 06, 2007 1:47 pm Post subject: |
|
|
you would have to use a FileMonitor task + delete task:
Filemonitor task setting:
title = monitor0
task to run = delete0
folder = X
filename = (leave blank)
option = run task if file size less than 0.001
delete task setting:
title = delete0
folder = X
filename = $%monitor0::Filenames%$
schedule the monitor0 task to run before the ftp task. |
|
| Back to top |
|
 |
|