all groups > iis ftp > august 2006 >
You're in the

iis ftp

group:

ftp port 20 and 21


ftp port 20 and 21 boaz
8/23/2006 4:47:01 PM
iis ftp:
Hi,

I don't understand why there are two ports for FTP. When you are running
FTP, does this mean it will open 2 ports at the same time to send file?


..150 - FTP uses two ports: 21 for sending commands, and 20 for sending data.
A status code of 150 indicates that the server is about to open a new
connection on port 20 to send some data.

..226 - The command opens a data connection on port 20 to perform an action,
such as transferring a file. This action successfully completes, and the
data connection is closed.



--
[quoted text, click to view]

http://spaces.msn.com/bzDaCat

Re: ftp port 20 and 21 Bernard Cheah [MVP]
8/24/2006 12:00:00 AM
This is in active mode, port 21 will be control port, while 20 the data
communication port.
For passive mode, another story, read
Information About the IIS File Transmission Protocol (FTP) Service
http://support.microsoft.com/?id=283679

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button