On Aug 31, 2006, at 1:20 AM, David Glass wrote:
I suppose it is possible that the last file isn't completely present, but there is a delay between receiving all the files and processing through the files to reach the final file; one that I would have thought would be long enough to account for any 'file not available/complete/ready' issues. I'd guess the average is probably 15 - 30 seconds, obviously less if there is only one file.
Given that you are using FTP Suite, the FTP Status class should provide you with the gating status you need to know when a file is ready to process. The Successful_FTP event is what you should be using. I'm not sure why you'd have to put in a delay for safety's sake.
If your using the Sequences instead of the Commands, I'd suggest you look into the latter as they give much better control. Either way, the Successful_FTP event in FTP Status Class will only fire if the file is 100% complete.
-- Joseph Nastasi Pyramid Design - a software development firm http://www.pyramiddesign.us Voice 609 601-0814 Fax 609 601-0815 Products: A-OK! The Wings of Mercury http://www.aokwom.com A-OK! Spacecraft Simulation System - http://www.aoksss.com FTP Suite for REALbasic - http://www.ftpsuite.com _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
