I am using WinSCP.dll (File Version: 188.8.131.529, Product Version:184.108.40.206) in C# for downloading files from SFTP server. My application is a windows service which keep on downloading files from FTP server. The application works for 2-3 hours, then the Windows Service stops automatically.
To make the issue worst, the WinSCP.exe*32 Process remains as it is in Task Manager though the my Windows Service stopped. So everytime I manually start my service, the previous WinSCP.exe*32 process remains as it is.
If I do this 12-13 times in a day, I found my task manager is piled up with 12/13 WinSCP.exe*32 processes and if the count goes upto 30-40, WinSCP stops connecting to the FTP Server completely.
Please suggest some solution.