KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Check for double files

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Kris



Joined: 12 May 2010
Posts: 375

PostPosted: Fri Nov 13, 2020 7:03 am    Post subject: Check for double files Reply with quote

Hi all,

I have a folder where EDI order message files are created.
Sometimes they are created double, which is not good.
I want to create a test that alerts when a double file is created.

The filenames look like this:
ORDER_<order#>_<datetime>.XML

Example of double file to be detected:
Code:

ORDER_21723_20201113171001.XML
ORDER_21723_20201113182345.XML
  ^     ^          ^
type  order#    date+time

This EDI order message file has been generated twice, with a different timestamp.

Any chance of detecting these without external scripting?

Thanks!
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Fri Nov 13, 2020 7:59 am    Post subject: Reply with quote

Sorry, there is no built-in test for such task

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 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

KS-Soft Forum Index