01-29-07 06:33 AM
Barry,
The question was regarding PORT command in ACTIVE FTP mode.
In active mode FTP the client connects from a random unprivileged port
(N > 1023) to the FTP server's command port, port 21. Then, the client
starts listening to port N+1 and sends the FTP command PORT N+1 to the
FTP server. The server will then connect back to the client's
specified data port from its local data port, which is port 20.
Where does the number of a random unprivileged port come from?
Thanks,
Alona
On Jan 28, 9:42 am, Barry Margolin <bar...@alum.mit.edu> wrote:
> In article <1169954472.299107.148...@v33g2000cwv.googlegroups.com>,
>
> a...@sympatico.ca wrote:
>
>
>
>
> bind the socket to it. It will change from connection to connection.
>
> --
> Barry Margolin, bar...@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***
[ Post a follow-up to this message ]
|