Hi,
In first place, sorry my bad English.
Every morning between 3 and 4 am, some external process put a file in a remote server. I'm going to write a routine to connect via ftp, check if the file exist and read the file into a local machine. I have checked and the ftp read operation don't trigger an error if the file is not completed. I want to know by code, if this file had been writed totally or the routine must wait some time before read the file.
thx
In first place, sorry my bad English.
Every morning between 3 and 4 am, some external process put a file in a remote server. I'm going to write a routine to connect via ftp, check if the file exist and read the file into a local machine. I have checked and the ftp read operation don't trigger an error if the file is not completed. I want to know by code, if this file had been writed totally or the routine must wait some time before read the file.
thx