#5406 closed Bug report (rejected)
Passive FTP isn't passive on the second connection
Reported by: | Adrian Marsh | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | client passive second logon | Cc: | |
Component version: | Operating system type: | Windows | |
Operating system version: | XP SP3 |
Description
Hi,
SW: Filezilla Client 3.3.3, Windows XP SP3
I'm testing a PROftp server (externally hosted, on the Internet) to debug something. To help, I've also set one up internally on my LAN, and wanted to use Filezilla as the client. I'm testing on the LAN server first so I understand the ports in use etc.
However, Filezilla doesn't switch to PASV on the second time I connect to the server.
I define the server, and make sure that under Transfer Settings, its set to Passive.
I then login (log 1). you can see Filezilla correctly sent PASV. All looks good
I then disconnect, and re-login again (log 2) by clicking on the drop-down toolbar. You can see from the log that the client doesn't switch to PASV.
The only way I've been able to re-connect in passive, is to close Filezilla and restart it.
I can't find this in the existing buglist.
Client and Server are on the same LAN.
(log 1)
Status: Connecting to 192.168.50.132:21...
Status: Connection established, waiting for welcome message...
Response: 220 FTP Server ready.
Command: USER ftptest
Response: 331 Password required for ftptest
Command: PASS *
Response: 230 User ftptest logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: UTF8
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: REST STREAM
Response: LANG en-US;ko-KR;fr-FR;bg-BG;it-IT;zh-TW;ru-RU;zh-CN
Response: SIZE
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (192,168,50,132,233,129).
Command: MLSD
Response: 150 Opening ASCII mode data connection for MLSD
Response: 226 Transfer complete
Status: Directory listing successful
(log 2)
Status: Disconnected from server
Status: Connecting to 192.168.50.132:21...
Status: Connection established, waiting for welcome message...
Response: 220 FTP Server ready.
Command: USER ftptest
Response: 331 Password required for ftptest
Command: PASS *
Response: 230 User ftptest logged in
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Status: Directory listing successful
Change History (3)
comment:1 by , 15 years ago
comment:3 by , 15 years ago
Hi, Im not really sure I agree here... if the client is reconnecting, then it should enter in a fresh state, not be remembering some last state.
Since FileZilla is reconnecting the directory listing isn't transferred again and no data connection is established. Try entering a directory or pressing F5 for refresh and I guess you will see the PASV command.