Hi,
Please note that every call to a method of this extension created a new tcp/ip connection that is not closed in the end. The connections are closed later due to timeout.
This means that if we use this in a process that will call several methods very quickly, we will end up exhausting the tcp/ip connection pool.
Hi Carlos ,
Can you please share more detail . Are you trying to upload large file or you are trying to upload multiple files in a loop?
Regards
Devendra
Is there any way to close the connection?
Regards,
Michal
@Daniel Lourenço, I have the same problem.
Could this be the problem?
---
MssSendDataCommandMultiple
...
foreach (RCFileInfoRecord file in ssData)
{
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(uri));
reqFTP.KeepAlive = (idx < ssData.Count); // Close only the last conection, the connection before is open.
}
MssReceiveDataCommand
reqFTP.KeepAlive = false; // Don't have this.
MssGetDirAndFileList
@Silvio Garbes Lara, good afternoon and thank you for your suggestion.
As I am currently not actively supporting this component, I will message the members in the account team asking whether they'd like to incorporate that improvement in the component-
Kind Regards,
Daniel Lourenço
This issue was fixed in version 1.2.1