bob4432
Lifer
- Sep 6, 2003
- 11,727
- 46
- 91
Originally posted by: kamper
Maybe I'm not following what you mean by 'port mode'. As I understand it, either they've got to make an additional connection to your server (your 10 additional ports) or your server has to make an additional connection to their client machine. I always get confused as to which one 'passive mode' on or off means but I haven't heard the term 'port mode' before. Are you suggesting that clients open up a port on their firewall?Originally posted by: bob4432
yes it does....you can just set up port 21 to be forwarded in the router and it work fine in port mode....Originally posted by: kamper
Doesn't work if they're behind a firewall, and who isn't these days?Originally posted by: bob4432
all these extra ports....don't use them and have your buddies use port mode, there only 1 port to set up
FTP Port mode, sometimes called Standard mode or Active mode, first establishes a connection to TCP port 21 on the FTP server. When the client needs to receive data, it sends a PORT command to the server, which opens a new connection to the client on TCP port 20.
FTP PASV mode clients, sometimes called Passive mode, also start by establishing a connection to TCP port 21 on the FTP server. When the client sends a PASV command, the server opens an ephemeral port (short lived port) between 1024 and 5000, and informs the client to use that port as the source port for the data transfer.
