I am creating a small .NET application in C# to upload files to an FTP Server. I am using the .NET DLL for WinSCP while doing this and i have been trying to find a good solution to my problem.
The FTP folder where I will put all my files will be monitored by another application. This application will then take these files and process them automatically.
So what I want to avoid is that my files are grabbed by the application before the transfer is complete.
So I want to use either temporary filename usage or maybe a temporary folder and then move the files when upload is finished.
What do you suggest as the best approach? And second question is, in WinSCP .NET there should be an option for Transfer Resume that transfers the file with temporary name and renames when completed. But I cant seem to get this to work and are looking for any hints on how to get this to work?