1752795 Members
6466 Online
108789 Solutions
New Discussion юеВ

Ports for FTP

 
Shubin
New Member

Ports for FTP

Hi,

How to get the detail of active and passive port range for FTP
4 REPLIES 4
sujit kumar singh
Honored Contributor

Re: Ports for FTP

basically FTP uses the two port nos as standard

20 for data
21 fpr control


Sujit
Tingli
Esteemed Contributor

Re: Ports for FTP

In active ftp the client decides the port, and it notifies the server which port it uses for the data transfer. Usually, with the command port as 21 and data port as 20.

In passive mode it is the server decides the port.
Md. Farhan A Azam
Trusted Contributor

Re: Ports for FTP

Hi,

ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
Md. Farhan A Azam
Trusted Contributor

Re: Ports for FTP

You can check from server...in hpux 11.11

#more /etc/services