Opened 18 years ago
Last modified 18 years ago
#1195 closed Bug report
Directory list with file pattern odd problem
Reported by: | ik13 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Server |
Keywords: | Cc: | ik13, Tim Kosse | |
Component version: | Operating system type: | ||
Operating system version: |
Description
I'm writing a piece of software that should do FTP(s) download/upload using /n Software's "IPWorks! SSL V6" and FZ (running the latest 0.9.20) Server as a test platform.
(There was an issue with the component not sending PROT in ImplicitSSL mode, which was solved by an undocumented setting in IP!Works. SSL)
Here's another one and I'm not sure if the problem is in IPWorks or FZ.
From what I see in the FZ log I thing there’s a good chance that it’s actually a bug in FZ…
- The sample program connects, and reads the current directory.
- Then it tries to retrieve a directory listing with a file pattern that will not produce any results (like *.zip0 and there are no such files).
- Connecting to one remote server this fails right away. On a FZ server running at the local machine it will take numerous retries to end up the same way. The chance of reproducing it on a local server is greatly increased if a low speed limit (like 1kB/s) is set (though the abovementioned remote server easily pulls a steady 40-50K without a problem and does not have any speed limits set).
- The problem does not occur if a file, matching the pattern is found.
There's a snapshot from the console:
(000021) 11/27/2006 16:20:43 PM - ftpuser (127.0.0.1)> PASV
(000021) 11/27/2006 16:20:44 PM - ftpuser (127.0.0.1)> 227 Entering Passive Mode (127,0,0,1,117,48)
(000021) 11/27/2006 16:20:44 PM - ftpuser (127.0.0.1)> LIST *.zip0
(000021) 11/27/2006 16:20:44 PM - ftpuser (127.0.0.1)> 150 Connection accepted
(000021) 11/27/2006 16:20:44 PM - ftpuser (127.0.0.1)> SSL connection for data connection established
(000021) 11/27/2006 16:20:44 PM - ftpuser (127.0.0.1)> 226 Transfer OK
(000021) 11/27/2006 16:20:45 PM - ftpuser (127.0.0.1)> PASV
(000021) 11/27/2006 16:20:45 PM - ftpuser (127.0.0.1)> 227 Entering Passive Mode (127,0,0,1,117,49)
(000021) 11/27/2006 16:20:45 PM - ftpuser (127.0.0.1)> LIST *.zip0
(000021) 11/27/2006 16:20:45 PM - ftpuser (127.0.0.1)> 150 Connection accepted
(000021) 11/27/2006 16:20:45 PM - ftpuser (127.0.0.1)> SSL connection for data connection established
(000021) 11/27/2006 16:20:45 PM - ftpuser (127.0.0.1)> 226 Transfer OK
(000021) 11/27/2006 16:20:46 PM - ftpuser (127.0.0.1)> PASV
(000021) 11/27/2006 16:20:46 PM - ftpuser (127.0.0.1)> 227 Entering Passive Mode (127,0,0,1,117,50)
(000021) 11/27/2006 16:20:46 PM - ftpuser (127.0.0.1)> LIST *.zip0
(000021) 11/27/2006 16:20:46 PM - ftpuser (127.0.0.1)> 150 Connection accepted
(000021) 11/27/2006 16:20:46 PM - ftpuser (127.0.0.1)> 226 Transfer OK
Several “good†ones at the beginning and a “bad†one at the end.
On the “good†attempts, between the “150 Connection accepted†and “226 Transfer OK†there’s a “227 Entering Passive Mode†line, which is missing on the “bad†one.
Should be fixed in FileZilla Server 0.9.21, will be released later today.