An application regularly polls a directory for input csv files which arrive by FTP, so there is an FTP server (currently Filezilla Server) running on that computer.
The problem is, that if a file is in the middle of being uploaded when the application decides to poll the location, then the file is locked and all sorts of unsightly errors are thrown on the application, ruining the user experience.
Now assuming I can't modify the application to wait, is there anything that can be done about this? e.g. The server automatically moving or renaming the file once the upload is complete? Or wait for the upload to be complete before saving the file? Or are there other servers that offer solutions such as this?