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 

Deleting files that have Zero Size

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions
View previous topic :: View next topic  
Author Message
mcatmull@scripnet.com



Joined: 29 Oct 2009
Posts: 20

PostPosted: Sat Aug 07, 2010 8:19 am    Post subject: Deleting files that have Zero Size Reply with quote

NOTE: I am using Automize Enterprise version 8.26

I have created a FileMonitor task and delete task to look for files with sizes < 0.0001. I then want to delete those files prior to going to the next step in the task.

In the DELETE task I have the filename set to: $%ZeroSizeFileMonitor::Filenames%$

However, if there are multiple files, it appears to only delete the first file in the list of files (e.g., #FILE1^#FILE1^#FILE2 - Not sure why the first file was listed twice)

Please help.
Back to top
View user's profile Send private message
mcatmull@scripnet.com



Joined: 29 Oct 2009
Posts: 20

PostPosted: Sat Aug 07, 2010 8:25 am    Post subject: Reply with quote

I hadn't noticed this originally, but the $%ZeroSizeFileMonitor::Filenames%$ is returning all the files in the folder not just the ones less than 0.0001 in size. The log shows the ones that pass the size criteria.
Back to top
View user's profile Send private message
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Tue Aug 10, 2010 9:09 pm    Post subject: Reply with quote

Are there any error messages in the debug log corresponding to the File monitor task?
what options are selected besides the file size?
also try < 0.001 (1 byte) .0001 is less than 1 byte..
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions 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