Hi Everyone, I know that the default port used by FTP is port 21 - are there any other ports used ?

I have in the back of my mind that there are separate control and data ports - is that correct.

Thanks for your help

Martin

asked 13 Dec '10, 18:10

Martin%20House's gravatar image

Martin House
896
accept rate: 100%


The FTP uses two communication channels: control connection and data connection.

Control connection

  • Control connection is established on a well-known port.
  • Is used for sending commands to the FTP server.

Control connections use the following ports:

  • port 21 - plain old FTP
  • port 21 - FTP over TLS/SSL Explicit mode
  • port 990 - FTP over TLS/SSL Implicit mode

Data connection

  • Used for upload, download, and directory listing transfer.
  • Initiated either by the FTP client (passive mode) or by the FTP server (active mode)
  • Established on random port. In passive mode, the port is selected by the FTP server. In active mode, it is selected by the FTP client.

See the following links for more info:

link

answered 13 Dec '10, 19:02

Martin%20Vobr's gravatar image

Martin Vobr ♦♦
335310
accept rate: 37%

edited 14 Dec '10, 13:14

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.4k28

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×152
×3

Asked: 13 Dec '10, 18:10

Seen: 301 times

Last updated: 08 Feb '11, 16:22