Quantcast
Channel: FileZilla Forums
Viewing all articles
Browse latest Browse all 11475

Re: FZ Server 0.9.41 Beta - Passive Mode Does Not Work

$
0
0
Yes, you fell for a myth.

The FTP.exe included in Windows does NOT support Passive mode and never has. These 'quote PASV' or 'literal PASV' commands are dummy, they actually don't do anything.

The reason is simple: Sending PASV is only the first step. Then the client would have to interpret the PASV response from the server to get IP and port and build a data connection.
It doesn't do for two reasons.
1. FTP.exe doesn't know how to handle PASV and PASV responses at all.
2. Replies to commands sent via literal or quote are generally ignored.

But FTP.exe does something completely different. As soon as you send dir, get, put (translate to LIST, RETR, STOR), it sends a PORT command. PORT switches the server back to Active mode.


If you want to check yourself type debug at the FTP.exe prompt. It will then show all actual FTP commands it sends.

Viewing all articles
Browse latest Browse all 11475

Trending Articles