Opened 23 years ago

Last modified 10 years ago

#15 closed Bug report

Large directory download failure

Reported by: anonymous Owned by: Tim Kosse
Priority: normal Component: Other
Keywords: Cc: Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Hi,

I noticed a strange bug using FileZilla 1.4 on windows
2000 SP2:
FileZilla works well for downloading single files or
simple directories.
However, when attempting to download complex
directories(i.e. including many subdirectories), it
might fail.
This doesn't seem to happen randomly (meaning
downloading a directory producing such an error will
always produce the error).
This bug seems not directly linked to directory
complexity. But downloading very large directory
structures will usually result in a failure.

An example:
Hereafter I attempted to download following directory
structure (coming from ls -alR under linux):
.:
total 12
drwxr-xr-x 3 a a 4096 sep 8
17:11 .
drwxr-xr-x 3 a a 4096 sep 8
17:11 ..
drwxr-xr-x 4 a a 4096 sep 8
17:10 Ada

./Ada:
total 16
drwxr-xr-x 4 a a 4096 sep 8
17:10 .
drwxr-xr-x 3 a a 4096 sep 8
17:11 ..
drwxr-xr-x 2 a a 4096 sep 8
16:33 Booch components
drwxr-xr-x 2 a a 4096 sep 8
16:32 winnt

./Ada/Booch components:
total 376
drwxr-xr-x 2 a a 4096 sep 8
16:33 .
drwxr-xr-x 4 a a 4096 sep 8
17:10 ..
-rw-r--r-- 1 a a 8398 sep 8
16:33 ACL.txt
-rw-r--r-- 1 a a 321747 sep 8
16:32 bc-20010513.zip
-rw-r--r-- 1 a a 28720 sep 8
16:33 bc-html-20010513.zip
-rw-r--r-- 1 a a 705 sep 8
16:33 bc-README.txt

./Ada/winnt:
total 27920
drwxr-xr-x 2 a a 4096 sep 8
16:32 .
drwxr-xr-x 4 a a 4096 sep 8
17:10 ..
-rw-r--r-- 1 a a 3103849 sep 8
16:32 adagide-6.26.exe
-rw-r--r-- 1 a a 23500591 sep 8
16:32 gnat-3.13p-nt.exe
-rw-r--r-- 1 a a 1930958 sep 8
16:32 gnatcom-1.3p.exe
-rw-r--r-- 1 a a 295 sep 8
16:32 README

It resulted in a failure, see session report
(hereafter point 1.).
However, downloading separately "Booch components"
or "winnt" works (see points 2. and 3.)

Please note that this happened with Redhat ftp server,
and windows Bullet proof FTP server.
FTPLeech (another famous ftp client) can download the
previous structure.
I advice you to try to download large directory
structures.

Good luck while bug hunting ;-)
Regards,
Franck

-1. START DOWNLOAD ADA---------------------------------


Command: CWD /home/a/Test ftp/bdownload/Ada
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada" is
current directory.
Command: PORT 10,0,0,50,11,55
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: CWD /home/a/Test ftp/bdownload/Ada/Booch
components
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: PORT 10,0,0,50,11,56
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: CWD /home/a/Test ftp/bdownload/Ada/winnt
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: PORT 10,0,0,50,11,57
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: CWD /home/a/Test ftp/bdownload/
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload" is current
directory.
Command: PORT 10,0,0,50,11,58
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Status: Starting download of ACL.txt
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload" is current
directory.
Command: CWD /home/a/Test ftp/bdownload/Ada/Booch
components
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: PORT 10,0,0,50,11,59
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE ACL.txt
Response: 213 8398
Error: Could not open the local file
C:\Temp\franck\test\Ada\Booch components\ACL.txt
Error: Download failed
Status: Starting download of bc-20010513.zip
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE bc-20010513.zip
Response: 213 321747
Error: Could not open the local file
C:\Temp\franck\test\Ada\Booch components\bc-
20010513.zip
Error: Download failed
Status: Starting download of bc-README.txt
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE bc-README.txt
Response: 213 705
Error: Could not open the local file
C:\Temp\franck\test\Ada\Booch components\bc-README.txt
Error: Download failed
Status: Starting download of bc-html-20010513.zip
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE bc-html-20010513.zip
Response: 213 28720
Error: Could not open the local file
C:\Temp\franck\test\Ada\Booch components\bc-html-
20010513.zip
Error: Download failed
Status: Starting download of README
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: CWD /home/a/Test ftp/bdownload/Ada/winnt
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: PORT 10,0,0,50,11,60
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE README
Response: 213 295
Error: Could not open the local file
C:\Temp\franck\test\Ada\winnt\README
Error: Download failed
Status: Starting download of adagide-6.26.exe
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE adagide-6.26.exe
Response: 213 3103849
Error: Could not open the local file
C:\Temp\franck\test\Ada\winnt\adagide-6.26.exe
Error: Download failed
Status: Starting download of gnat-3.13p-nt.exe
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE gnat-3.13p-nt.exe
Response: 213 23500591
Error: Could not open the local file
C:\Temp\franck\test\Ada\winnt\gnat-3.13p-nt.exe
Error: Download failed
Status: Starting download of gnatcom-1.3p.exe
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE gnatcom-1.3p.exe
Response: 213 1930958
Error: Could not open the local file
C:\Temp\franck\test\Ada\winnt\gnatcom-1.3p.exe
Error: Download failed
-1. STOP DOWNLOAD ADA----------------------------------


-2. START DOWNLOAD BOOCH COMPONENTS--------------------


Command: CDUP
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada" is
current directory.
Command: PORT 10,0,0,50,11,72
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: CWD /home/a/Test ftp/bdownload/Ada/Booch
components
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: PORT 10,0,0,50,11,73
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: CWD /home/a/Test ftp/bdownload/Ada/
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada" is
current directory.
Command: PORT 10,0,0,50,11,74
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Status: Starting download of ACL.txt
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada" is
current directory.
Command: CWD /home/a/Test ftp/bdownload/Ada/Booch
components
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: PORT 10,0,0,50,11,75
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE ACL.txt
Response: 213 8398
Command: PORT 10,0,0,50,11,76
Response: 200 PORT command successful.
Command: RETR ACL.txt
Response: 150 Opening BINARY mode data connection for
ACL.txt (8398 bytes).
Response: 226 Transfer complete.
Status: Download successful
Status: Starting download of bc-20010513.zip
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE bc-20010513.zip
Response: 213 321747
Command: PORT 10,0,0,50,11,77
Response: 200 PORT command successful.
Command: RETR bc-20010513.zip
Response: 150 Opening BINARY mode data connection for
bc-20010513.zip (321747 bytes).
Response: 226 Transfer complete.
Status: Download successful
Status: Starting download of bc-README.txt
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE bc-README.txt
Response: 213 705
Command: PORT 10,0,0,50,11,78
Response: 200 PORT command successful.
Command: RETR bc-README.txt
Response: 150 Opening BINARY mode data connection for
bc-README.txt (705 bytes).
Response: 226 Transfer complete.
Status: Download successful
Status: Starting download of bc-html-20010513.zip
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/Booch
components" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE bc-html-20010513.zip
Response: 213 28720
Command: PORT 10,0,0,50,11,79
Response: 200 PORT command successful.
Command: RETR bc-html-20010513.zip
Response: 150 Opening BINARY mode data connection for
bc-html-20010513.zip (28720 bytes).
Response: 226 Transfer complete.
Status: Download successful
-2. STOP DOWNLOAD BOOCH COMPONENTS---------------------


-3. START DOWNLOAD WINNT-------------------------------


Command: CWD /home/a/Test ftp/bdownload/Ada/winnt
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: PORT 10,0,0,50,11,82
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: CWD /home/a/Test ftp/bdownload/Ada/
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada" is
current directory.
Command: PORT 10,0,0,50,11,83
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Status: Starting download of README
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada" is
current directory.
Command: CWD /home/a/Test ftp/bdownload/Ada/winnt
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: PORT 10,0,0,50,11,84
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE README
Response: 213 295
Command: PORT 10,0,0,50,11,85
Response: 200 PORT command successful.
Command: RETR README
Response: 150 Opening BINARY mode data connection for
README (295 bytes).
Response: 226 Transfer complete.
Status: Download successful
Status: Starting download of adagide-6.26.exe
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE adagide-6.26.exe
Response: 213 3103849
Command: PORT 10,0,0,50,11,86
Response: 200 PORT command successful.
Command: RETR adagide-6.26.exe
Response: 150 Opening BINARY mode data connection for
adagide-6.26.exe (3103849 bytes).
Response: 226 Transfer complete.
Status: Download successful
Status: Starting download of gnat-3.13p-nt.exe
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE gnat-3.13p-nt.exe
Response: 213 23500591
Command: PORT 10,0,0,50,11,87
Response: 200 PORT command successful.
Command: RETR gnat-3.13p-nt.exe
Response: 150 Opening BINARY mode data connection for
gnat-3.13p-nt.exe (23500591 bytes).
Error: Timeout detected!
Error: Download failed
Status: Starting download of gnatcom-1.3p.exe
Status: Connecting to 10.0.0.30 ...
Status: Connected with 10.0.0.30. Waiting for welcome
message...
Response: 220 pentium.localdomain FTP server (Version
wu-2.6.1-16) ready.
Command: USER a
Response: 331 Password required for a.
Command: PASS
Response: 230 User a logged in.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a" is current directory.
Command: PORT 10,0,0,50,11,89
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: PWD
Response: 257 "/home/a" is current directory.
Command: CWD /home/a/Test ftp/bdownload/Ada/winnt
Response: 250-Please read the file README
Response: 250- it was last modified on Sat Sep 8
16:32:45 2001 - 0 days ago
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/a/Test ftp/bdownload/Ada/winnt"
is current directory.
Command: PORT 10,0,0,50,11,90
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection for
directory listing.
Response: 226 Transfer complete.
Command: TYPE I
Response: 200 Type set to I.
Command: SIZE gnatcom-1.3p.exe
Response: 213 1930958
Command: PORT 10,0,0,50,11,91
Response: 200 PORT command successful.
Command: RETR gnatcom-1.3p.exe
Response: 150 Opening BINARY mode data connection for
gnatcom-1.3p.exe (1930958 bytes).
Response: 226 Transfer complete.
Status: Download successful
-3. STOP DOWNLOAD WINNT--------------------------------


Change History (1)

comment:1 by Tim Kosse, 23 years ago

Thanks for the logs.
The problem has been identified and will be fixed for the
next release.

Note: See TracTickets for help on using tickets.