hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

monitor and delete 0 kb size files

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Monitoring Tasks
View previous topic :: View next topic  
Author Message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Tue Feb 06, 2007 1:47 pm    Post subject: monitor and delete 0 kb size files Reply with quote

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
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Tue Feb 06, 2007 1:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Monitoring Tasks All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group