ftp question

For general rambling.
Peijen
Minion to the Exalted Pooh-Bah
Posts: 2790
Joined: Fri Jul 18, 2003 2:28 pm
Location: Irvine, CA

Re: Wait

Post by Peijen »

VLSmooth wrote:
Dwindlehop wrote:if you're a real man, you know the difference between PASV and PORT.
iirc, PORT is sent from the client telling the server to connect to the client on a port specified by the client. PASV is also sent from the client, but asks the server to accept a data connection on a port selected by the server.

so in short:
PORT : server -> client
PASV : client -> server

I could be wrong, but if I'm right, I demand a cookie!
Already answered it before you.

quantus
Tenth Dan Procrastinator
Posts: 4891
Joined: Fri Jul 18, 2003 3:09 am
Location: San Jose, CA

Post by quantus »

You're sorta right and sorta wrong. PASV is just a request for the server to send you (theclient) the PORT command. So, you are right if you are the client, but incorrect if you're the server.

Peijen
Minion to the Exalted Pooh-Bah
Posts: 2790
Joined: Fri Jul 18, 2003 2:28 pm
Location: Irvine, CA

Post by Peijen »

quantus wrote:You're sorta right and sorta wrong. PASV is just a request for the server to send you (theclient) the PORT command. So, you are right if you are the client, but incorrect if you're the server.
of course we are talking about client only.

Post Reply