Find Filename in file list
Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
5 posts
Page 1 of 1
Hello,
I am new to GAMFT however I am trying to have a monitor capture a file list at a specific time and send an email to tell me if certain files are missing from that list. I get a group of files around the same time and only need to know what files are missing. Is there any way to create a "Ideal" vs "real" file list comparison?
EG:
File1 File1
File2
File 3 File3
Email return:
File 2 is missing.
I am new to GAMFT however I am trying to have a monitor capture a file list at a specific time and send an email to tell me if certain files are missing from that list. I get a group of files around the same time and only need to know what files are missing. Is there any way to create a "Ideal" vs "real" file list comparison?
EG:
File1 File1
File2
File 3 File3
Email return:
File 2 is missing.
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
The only way to accomplish this would be to have your "ideal" file list in a Spreadsheet, CSV or Database table somewhere that you can compare against. Then, loop through the file list, see if it exists in your "real" vs. "ideal" comparison and then you can identify what is missing.
You could do a file number comparison to begin with and if all the files exists in one and the other, the count should be the same.
You could do a file number comparison to begin with and if all the files exists in one and the other, the count should be the same.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Yes, a ForEach loop across the filelist variable allows you to view each file and each file's attributes.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
5 posts
Page 1 of 1