FTP DLX Loops on SIZE command when Getting a file (wodSFTP / wodSFTP.NET / wodSFTPdll)
I'm working on a program that connects to a server and automatically downloads some files. I can connect, put files, and list directory contents, but when I get a file the program appears to hang.
I turned on the debug file for the component and examined its contents, and found that eventually the component attempts to get the size of the file I have instructed it to download, and it gets stuck in a loop, repeatedly sending the SIZE command to the server.
The rest of the log is available if it will help.
[code]
*** Sending 8 bytes: TYPE I
xxx SSLSocket::FDReceive
FdReceive for SSL start, err = 0
FdReceive for SSL - Control Socket
FdReceive for SSL - state = 13
ReadServerResponse::start
ReadServerResponse::read 33 bytes: 200 Transfer mode set to BINARY
GetServerResponse returned 200
Command: TYPE I 200 Transfer mode set to BINARY
FireStateChange to 7
*** Sending 41 bytes: CWD /users/TR10382/tr10382o/10382027.01
xxx SSLSocket::FDReceive
FdReceive for SSL start, err = 0
FdReceive for SSL - Control Socket
FdReceive for SSL - state = 7
ReadServerResponse::start
ReadServerResponse::read 58 bytes: 550 Folder /users/TR10382/tr10382o/10382027.01 not found
GetServerResponse returned 550
Command: CWD /users/TR10382/tr10382o/10382027.01 550 Folder /users/TR10382/tr10382o/10382027.01 not found
*** Sending 30 bytes: CWD /users/TR10382/tr10382o/
xxx SSLSocket::FDReceive
FdReceive for SSL start, err = 0
FdReceive for SSL - Control Socket
FdReceive for SSL - state = 7
ReadServerResponse::start
ReadServerResponse::read 25 bytes: 250 Command CWD succeed
GetServerResponse returned 250
Command: CWD /users/TR10382/tr10382o/ 250 Command CWD succeed
FireStateChange to 15
FireStateChange to 8
*** Sending 42 bytes: SIZE /users/TR10382/tr10382o/10382027.01
xxx SSLSocket::FDReceive
FdReceive for SSL start, err = 0
FdReceive for SSL - Control Socket
FdReceive for SSL - state = 8
ReadServerResponse::start
ReadServerResponse::read 9 bytes: 200 732
GetServerResponse returned 200
Command: SIZE /users/TR10382/tr10382o/10382027.01 200 732
*** Sending 42 bytes: SIZE /users/TR10382/tr10382o/10382027.01
[/code]
Complete thread:
- FTP DLX Loops on SIZE command when Getting a file - W Leader, 2009-01-27, 16:00
- Re: FTP DLX Loops on SIZE command when Getting a f - wodDamir, 2009-01-27, 16:03
- Re: FTP DLX Loops on SIZE command when Getting a f - W Leader, 2009-01-27, 17:33
- Re: FTP DLX Loops on SIZE command when Getting a f - woddrazen, 2009-01-27, 17:58
- Re: FTP DLX Loops on SIZE command when Getting a f - W Leader, 2009-01-27, 18:13
- Re: FTP DLX Loops on SIZE command when Getting a f - woddrazen, 2009-01-27, 18:46
- Re: FTP DLX Loops on SIZE command when Getting a f - W Leader, 2009-01-27, 19:28
- Re: FTP DLX Loops on SIZE command when Getting a f - woddrazen, 2009-01-27, 19:33
- Re: FTP DLX Loops on SIZE command when Getting a f - W Leader, 2009-01-29, 10:26
- Re: FTP DLX Loops on SIZE command when Getting a f - woddrazen, 2009-01-27, 19:33
- Re: FTP DLX Loops on SIZE command when Getting a f - W Leader, 2009-01-27, 19:28
- Re: FTP DLX Loops on SIZE command when Getting a f - woddrazen, 2009-01-27, 18:46
- Re: FTP DLX Loops on SIZE command when Getting a f - W Leader, 2009-01-27, 18:13
- Re: FTP DLX Loops on SIZE command when Getting a f - woddrazen, 2009-01-27, 17:58
- Re: FTP DLX Loops on SIZE command when Getting a f - W Leader, 2009-01-27, 17:33
- Re: FTP DLX Loops on SIZE command when Getting a f - wodDamir, 2009-01-27, 16:03