Timeout due to server inactivity when trying to us - WeOnlyDo Discussion board

Timeout due to server inactivity when trying to us (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Anil, Wednesday, June 24, 2009, 18:38 (5413 days ago)

With following code when i am using GetFile (by giving file name),
it's working fine but when I am using the GetFiles(by giving directory name to copy whole directory) then it's giving exception as
Time out due to server inactivity
Please suggest.

dlx1 = New WeOnlyDo.Client.FtpDLX
dlx1.Protocol = Protocols.SFTP
dlx1.Blocking = True
dlx1.Hostname = host name
dlx1.Login = login
dlx1.Password = pwd
dlx1.Port = 22
dlx1.LicenseKey =
dlx1.Connect()
If dlx1.State = States.Connected Then
dlx1.GetFiles(objFTPdetails.GetDestinationFilePath, objFTPdetails.GetSourceFilePath, 5)
dlx1.Disconnect()
End If


Complete thread: