Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

pauls

Posts

4

Joined

Thu Oct 28, 2010 7:24 am

Problem downloading large files

by pauls » Thu Oct 28, 2010 11:41 pm

We have an issue downlaoding files from a provider. If the file is small, the file can be downloaded. The file that can't be downloaded is 82k which wouldn't seem to be too large. An error code 0 is returned. I can download the file using CoreFTP. Here is the part of the log with the error:

ALL [SFTPMessage] 27 Oct 2010 13:10:18.095 : Reply : Name=SSH_FXP_HANDLE,Type=102,RequestID=5
handle=30
ALL [SFTPMessage] 27 Oct 2010 13:10:18.095 : Send : Name=SSH_FXP_READ,Type=5,RequestID=6
handle=30,offset=0,len=65535
DEBUG [SSH2Channel] 27 Oct 2010 13:10:18.095 : Transmit 4 bytes
DEBUG [ChannelDataWindow] 27 Oct 2010 13:10:18.095 : Remote window size decreased to 130793
DEBUG [SSH2Channel] 27 Oct 2010 13:10:18.095 : Transmit 22 bytes
DEBUG [ChannelDataWindow] 27 Oct 2010 13:10:18.095 : Remote window size decreased to 130771
DEBUG [PlainSocket] 27 Oct 2010 13:10:18.267 : RepeatCallback received 0 bytes
DEBUG [SFTPChannelReceiver] 27 Oct 2010 13:10:18.267 : Connection closed: (code=0)
ERROR [SFTPMessageStore] 27 Oct 2010 13:10:18.267 : Disconnected unexpectedly ( [errorcode=0])
ERROR [SFTPMessageStore] 27 Oct 2010 13:10:18.282 : [errorcode=0] : EnterpriseDT.Net.Ftp.Ssh.SFTPException: [errorcode=0]
EnterpriseDT.Net.Ftp.Ssh.SFTPException: [errorcode=0]
at fe.b(Int32 A_0)
ALL [SFTPMessage] 27 Oct 2010 13:10:18.282 : Send : Name=SSH_FXP_CLOSE,Type=4,RequestID=7
handle=30
DEBUG [SSH2Channel] 27 Oct 2010 13:10:18.282 : Transmit 4 bytes
DEBUG [ChannelDataWindow] 27 Oct 2010 13:10:18.282 : Remote window size decreased to 130767
DEBUG [SSH2Channel] 27 Oct 2010 13:10:18.282 : Transmit 10 bytes
DEBUG [ChannelDataWindow] 27 Oct 2010 13:10:18.282 : Remote window size decreased to 130757
ERROR [SFTPMessageStore] 27 Oct 2010 13:15:18.380 : GetMessage timed out (request id=7)
ERROR [SFTPMessageStore] 27 Oct 2010 13:15:18.380 : GetMessage timed out (request id=7) : EnterpriseDT.Net.Ftp.Ssh.SFTPException: GetMessage timed out (request id=7)
EnterpriseDT.Net.Ftp.Ssh.SFTPException: GetMessage timed out (request id=7)
at fe.b(Int32 A_0)
ERROR [SSHFTPClient] 27 Oct 2010 13:15:18.380 : Failed to close input stream in Get() : EnterpriseDT.Net.Ftp.Ssh.SFTPException: GetMessage timed out (request id=7)
EnterpriseDT.Net.Ftp.Ssh.SFTPException: GetMessage timed out (request id=7)
at fe.b(Int32 A_0)
at ag.a(Int32 A_0)
at ag.c(Byte[] A_0)
at ag.c(al A_0)
at al.f()
at ej.b()
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.a(Stream A_0, String A_1, String A_2)
ERROR [SSHFTPClient] 27 Oct 2010 13:15:18.380 : Caught exception : EnterpriseDT.Net.Ftp.Ssh.SFTPException: [errorcode=0]
EnterpriseDT.Net.Ftp.Ssh.SFTPException: [errorcode=0]
at fe.b(Int32 A_0)
at ag.b(Byte[] A_0, Int64 A_1, Byte[] A_2, Int32 A_3, Int32 A_4)
at ej.b(Byte[] A_0, Int32 A_1, Int32 A_2)
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.a(Stream A_0, Stream A_1, TransferDirection A_2, String A_3, Int64 A_4)
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.a(Stream A_0, String A_1, String A_2)
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Fri Oct 29, 2010 6:56 am

It looks like the server is closing the connection. If you have access to the server logs then you may find the reason in there.

- Hans (EnterpriseDT)
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Fri Oct 29, 2010 11:32 am

In addition to what Hans has said, please ensure your timeout is set to at least 60,000, and email us the entire log file starting from login (zipped please).
no avatar
User

pauls

Posts

4

Joined

Thu Oct 28, 2010 7:24 am

by pauls » Fri Oct 29, 2010 11:38 pm

no avatar
User

pauls

Posts

4

Joined

Thu Oct 28, 2010 7:24 am

by pauls » Sat Oct 30, 2010 7:16 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Sat Oct 30, 2010 7:24 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Sat Oct 30, 2010 7:36 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Wed Nov 03, 2010 9:13 am


Who is online

Users browsing this forum: No registered users and 13 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign