Apologies.
Since I'm very new to C#, it was my fault - I incorrectly used my code.
Now file uploads are working good and there is no new connection to SFTP server on each new file.
To explain what was wrong, it would take a lot of text here. There were multiple logic errors in my code.
Since I'm very new to C#, it was my fault - I incorrectly used my code.
Now file uploads are working good and there is no new connection to SFTP server on each new file.
To explain what was wrong, it would take a lot of text here. There were multiple logic errors in my code.