Re-process files on failure

If you have a new question you’d like our support staff to post a response to, please visit our customer community, GoAnywhere Insiders, to pose the question in our Discussion Boards. We have a thread “Ask Our Tech Experts” that our support team monitors on a regular basis, or you can start a new discussion where other GoAnywhere users and support staff can weigh in. Log in or create your new account at https://insiders.goanywhere.com.

If you need an immediate response, please create a support ticket or contact our support team by email at [email protected].
3 posts Page 1 of 1

GBDickinson

Posts: 4
Joined: Fri Aug 05, 2016 5:32 pm
Location: Birmingham, AL

Post by GBDickinson » Mon Mar 06, 2017 5:23 pm
Hi,

I have several processes that monitor a directory for a given file (or files), perform some manipulation on them (rename, upload, etc) and then archive the files. These are kicked off from a filesystem monitor directly on the MFT server. One of the last steps (after the uploads, etc) is to remove the source file so it's not processed again the next time the monitor runs. However, we've run into situations where, if the process fails for whatever reason (usually a transient communications issue with the remote site) we *want* the monitor to pick up on the same file and attempt to process it again. However, because the monitor has already "seen" the file, it just ignores it.

What's the best way to work around this? I thought about having an "error" module that updated the timestamp on the file (kind of like the unix "touch" command) so it would look like a new one, but wanted to make sure there's not a better way to go about this.

Support_Rick

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Mon Mar 06, 2017 7:02 pm
Upgrade to version 5.4.3 ... this will give you an option to see if "FILE EXIST" instead of Created or Modified.

This is the reason this was added to the product.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

GBDickinson

Posts: 4
Joined: Fri Aug 05, 2016 5:32 pm
Location: Birmingham, AL

Post by GBDickinson » Tue Mar 07, 2017 9:05 am
Very nice! I'll schedule the upgrade for this weekend. Thanks...
3 posts Page 1 of 1