Re: wodSFTP.NET (General questions)
Tom,
Did you try with Timeout = 0?Also, what happens if you try same using our samples? You can find samples inside component Samples folder.
Maybe you can try some other SFTP client like FileZilla and see if same issue occur there.
Drazen
Hallo,
I have tried it with a timeout value 0. But i also get this timeout errors.
Than i recompiled your sample application with VS 2010, like my application but i couln't reproduce this timeout error. Maybe a problem in my application.
Now i think i have found the problem
in a loop for different file transfers i had this code:
Sftp1.Hostname = SFTPServerName
Sftp1.Login = SFTPUser
Sftp1.Password = SFTPPW
Sftp1.Authentication = WeOnlyDo.Client.SFTP.Authentications.Password
Sftp1.Encryption = WeOnlyDo.Client.SFTP.Encryptions.Auto
Sftp1.Port = 22
Sftp1.Blocking = True
Sftp1.TransferMode = WeOnlyDo.Client.SFTP.TransferModes.ASCII
Sftp1.Timeout = 0
Sftp1.Connect()
Sftp1.PutFile(strXMLFile, OutputPath & / & OutputFile)
Sftp1.Disconnect()
Sftp1.Dispose()
outside of this loop i had created the instance of the SFTP client. Now i moved this statement:
Sftp1 = New WeOnlyDo.Client.SFTP
also in the loop and the timeout problem seems the be disappeard
thanks
tom
Complete thread:
- wodSFTP.NET - sanjay Shenvekar, 2008-12-08, 08:04
- Re: wodSFTP.NET - wodDamir, 2008-12-08, 08:51
- Re: wodSFTP.NET - tom, 2011-03-01, 12:13
- Re: wodSFTP.NET - woddrazen, 2011-03-01, 12:19
- Re: wodSFTP.NET - tom, 2011-03-01, 12:36
- Re: wodSFTP.NET - woddrazen, 2011-03-01, 12:38
- Re: wodSFTP.NET - tom, 2011-03-01, 13:03
- Re: wodSFTP.NET - woddrazen, 2011-03-01, 13:11
- Re: wodSFTP.NET - tom, 2011-03-01, 15:49
- Re: wodSFTP.NET - woddrazen, 2011-03-01, 13:11
- Re: wodSFTP.NET - tom, 2011-03-01, 13:03
- Re: wodSFTP.NET - woddrazen, 2011-03-01, 12:38
- Re: wodSFTP.NET - tom, 2011-03-01, 12:36
- Re: wodSFTP.NET - woddrazen, 2011-03-01, 12:19
- Re: wodSFTP.NET - tom, 2011-03-01, 12:13
- Re: wodSFTP.NET - wodDamir, 2008-12-08, 08:51