1

I need to check if a file exists in local dir and the file is totally uploaded. To be more specific in my application (in LAMP environment) the users have an FTP access to upload file in a local dir. My objective is to check if a new file has been uploaded into the dir. If i use file_exists() function I obtain true even when the file is uploading, instead I want to know if a file exists and has been completely uploaded. Any idea to catch this event?

0 Answers0