× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you do a DIR out to a text file you can compare the file size from the remote server to the file size in your local system? Poor man's way.

But if they provide any check sum or end of file character within the file, you can compare / check for that.

Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Stephen Coyle
Sent: Wednesday, September 12, 2018 7:51 AM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: How to Validate for File Completeness after MGET

Hi All,

I need to connect to an FTP site using sFTP.
At any time of the day there could be .txt files dropped there.
I have a job on the scheduler that will run at intervals to check for .txt
files and transfer them to the IFS.

My question is how to validate that the MGET only transferred files that
were complete.
I assume that the MGET will grab files that may be in the process of being
created.
It would be great if that assumption is wrong!

How do I know files transferred with MGET are complete files?
I cannot dictate any changes to what is being dropped by our partner.

Thanks in advance for any info!
- Steve


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.