Skip navigation.
 
mlftp file busy?
FROM : Jeff Schindler
DATE : Tue Aug 08 05:32:50 2006

I have an application in which it monitors a particular folder for 
new files and processes them.  In one particular case, the files are 
being sent to the folder via FTP - I'm checking to see if the files 
are busy (NSFileBusy) before trying to read them, but in the case of 
FTP, it says they aren't busy.  Is there another way to check for an 
incomplete file for the FTP case?  These are actually JPEG image 
files, so one option is to parse the headers, get the image 
dimensions and compare to the file size - but I was hoping there was 
an easier way to handle this.  Thanks.

Related mailsAuthorDate
mlftp file busy? Jeff Schindler Aug 8, 05:32
mlRe: ftp file busy? Andrew Farmer Aug 8, 07:34
mlRe: ftp file busy? Aaron Jacobs Aug 8, 07:40
mlRe: ftp file busy? Chris Suter Aug 8, 07:54