edtEFTPnetPRO version: 18.104.22.168
We are receiving SFTP exceptions "No such file (code=2)", when transferring using UploadStream fairly regularly. The ftp site in question renames and automatically moves the file after the transfer is completed. I believe this rename and moving is causing a race condition with the operations performed by the ftp component (such as chmod) after the upload is complete. The owners of the FTP site aren't going to change anything, but do have a test location (which they claim is the same as the production location). Unfortunately, I have been unable to duplicate the exception on the test location. Therefore I am unable to really provide a log with the exception being thrown. The log for the test location does have the error in it but it does not cause an exception in the .NET code. I have included a copy of the log for the test location and the test code which I am using. I know the chmod can be turned off, but am unsure that will help as there are other operations done by the ftp component after the upload is complete. Any assistance would be greatly appreciated.