PDA

View Full Version : lost coonections when downloading very small files


guqing
09-12-2004, 06:27 AM
FlashFXP 3.0.0.1015 Final build always lost connections when it downloads a lot of very small files(less than 1K) from ftp server(Xlight 1.60c).

But this won't happen if I use other ftp clients to download from Xlight 1.60c or use old build of FlashFXP such as 2.1.924.

MidKnight
09-12-2004, 08:55 AM
status log?

guqing
09-12-2004, 07:21 PM
It's very easy to duplicate and happens in windows 2000, XP and 2003. For example, transfer 500 very small files(by local loopback or in LAN), it always happens several times.

It happens during data socket close, FlashFXP seems unable to close data socket, which also causes its control conntion lost(strange?) , and Flashfxp will reconnect to server(xlight ftp 1.60c). But if transfer large file(Over 100K), this will not happen.

I had tried several other ftp clients, they don't have this problem.

MidKnight
09-12-2004, 07:43 PM
Look at this (http://www.flashfxp.ws/forum/showthread.php?s=&threadid=4720)

guqing
09-13-2004, 10:51 PM
attach is log for connection loss

guqing
10-10-2004, 02:53 AM
I found the same thing happen on vsftpd aslo, although not that frequently.

When downloading small files from remote vsftpd ftp server, which is far away with relatively long link delay.

The "226 transfer complete" might come later than data socket close because of link delay. Whenever this happen, flashfxp will lost control connection for small files downloading. If "226 transfer complete" comes before data socket close, flashfxp is ok for small files.

It seems flashfxp is always expect "226 transfer complete" before data socket close. :( Is there any fix for it ?

bigstar
10-10-2004, 03:01 AM
Would it be possible to give a rough estimate on how much time has elapsed between the transfer finishing and the transfer complete reply?

FlashFXP will wait up to 2 minutes for a reply. If you increase the connection timeout value in the preferences higher than 2 minutes it will also increase the reply wait timeout. If the value is less than 2min it will use 2min.

Do you happen to have a ftp server that I can use to test this behavior? Perhaps there is something else going on and it can be addressed.

guqing
10-10-2004, 03:12 AM
I send you a private message about the vsftpd ftp server I found have problem.

If you try to use xlight ftp server http://www.xlightftpd.com it almost happen every time in local download of very small files (<8K). While it is ok by using previous version of FlashFXP (2.0) and other ftp clients.

bigstar
10-10-2004, 02:38 PM
Thanks, I have replied to your private message.

guqing
10-10-2004, 08:58 PM
Thanks for the fast support. Now the problem is resolved.