when I send port command to the server:
port 172,16,0,153,82,119
Do i tell to the server that this is going to be my data port (82*256+119=21111) and then server sends me his
data port? Or I am not right?
port command
Moderator: Project members
-
- 500 Command not understood
- Posts: 5
- Joined: 2013-03-21 09:35
- First name: lijep
- Last name: dan
Re: port command
A bit of both.
For details, see RFC 959.
Correct.port 172,16,0,153,82,119
Do i tell to the server that this is going to be my data port (82*256+119=21111)
Wrong. If the client selects active mode by virtue of sending the PORT command, it tells the server to connect to the given address and port upon receiving a transfer command.and then server sends me his
data port? Or I am not right?
For details, see RFC 959.
-
- 500 Command not understood
- Posts: 5
- Joined: 2013-03-21 09:35
- First name: lijep
- Last name: dan
Re: port command
I finished my FTP Client application!!!!!!!!