Best Answer

FTP is a TCP based service exclusively. There is no UDP component to FTP. FTP is an unusual service in that it utilizes two ports, a 'data' port and a 'command' port (also known as the control port). Traditionally these are port 21 for the command port and port 20 for the data port. The confusion begins however, when we find that depending on the mode, the data port is not always on port 20.

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. From the server-side firewall's standpoint, to support active mode FTP the following communication channels need to be opened: * FTP server's port 21 from anywhere (Client initiates connection) * FTP server's port 21 to ports > 1023 (Server responds to client's control port) * FTP server's port 20 to ports > 1023 (Server initiates data connection to client's data port) * FTP server's port 20 from ports > 1023 (Client sends ACKs to server's data port)

In order to resolve the issue of the server initiating the connection to the client a different method for FTP connections was developed. This was known as passive mode, or PASV, after the command used by the client to tell the server it is in passive mode. In passive mode FTP the client initiates both connections to the server, solving the problem of firewalls filtering the incoming data port connection to the client from the server. When opening an FTP connection, the client opens two random unprivileged ports locally (N > 1023 and N+1). The first port contacts the server on port 21, but instead of then issuing a PORT command and allowing the server to connect back to its data port, the client will issue the PASV command. The result of this is that the server then opens a random unprivileged port (P > 1023) and sends the PORT P command back to the client. The client then initiates the connection from port N+1 to port P on the server to transfer data. From the server-side firewall's standpoint, to support passive mode FTP the following communication channels need to be opened: * FTP server's port 21 from anywhere (Client initiates connection) * FTP server's port 21 to ports > 1023 (Server responds to client's control port) * FTP server's ports > 1023 from anywhere (Client initiates data connection to random port specified by server) * FTP server's ports > 1023 to remote ports > 1023 (Server sends ACKs (and data) to client's data port)

User Avatar

Wiki User

โˆ™ 2009-06-03 23:31:12
This answer is:
User Avatar
Study guides

Computer Networking

20 cards

What are advantages of Database Approach

What is a network that covers a large geographical area such as a city country or world

What is the worlds largest wan

What is a network server

See all cards

Computer Networking

20 cards

How do you connect to a secured wireless network

Which layer of TCPIP handles confidentiality

What service translates domain names computer hostnames to IP addresses

When was the first commercial computers sold

See all cards

Business and Industry

22 cards

What is a network

What are the basic resources of business

What does the owner of a restaurant do

What shape of pebbles would be the most useful in determining the direction of movement of the glacial advance

See all cards

Add your answer:

Earn +20 pts
Q: What ports need to be open for the client to use the FTP client software?
Write your answer...
Related questions

Software searches a node for open ports?

Port scanner.

What is the name of the software that searches a node for open ports?

Port scanner

What ports do the game Eve Online use?

It appears that ports 3724 and 26000 need to be open for the game to function properly.

Which ports needs to be open in order for a user to access the internet?

I believe that the concept of "open ports" applies on the server side; meaning that the server will respond on certain ports. So basically, you need none on the side of the end-user.

What is the diffence between penetration testing and vulnerability scanning?

penetration is trying to get into a lan or client (ie. threw a open port) vulnerability is trying to find out if there is anything you can get into (trying to find if there are any open ports)

Is it safe to open a port on your router?

Yes and no. It depends on the reasons for opening a port. Yes - You can open ports on your router if you have specific software that run on your computer that need that port opened. Some programs like UTorrent, games, or home made servers require some ports opened. While these programs are generally safe to have opened ports associated with them, anything is possible when it comes to attacks. Usually, software companies will try update their programs to make it more secure with the knowledge that you have an open port on your computer. Also, that open port is only going to be used by the specified software that needs it. No - You don't want to open a lot of ports, it gives a person more chances to get onto your computer. It weakens the security of your computer and increases your chance of an attack. But if done correct, you can open ports that will be used by specific programs and be generally safe. Think of it as unlocking and locking doors in your house. The more doors you unlocked, the higher a chance someone will try a door and it will just let him/her in. On the other hand, if you have a door that you use very frequently throughout the day, you might leave it unlocked.

What is PuguaSoft?

PuguaSoft offers software development and consulting services for companies with a need for high-quality, robust, and effective software solutions. They have expert knowledge in a variety of technologies and platforms ranging from web, client/server, and desktop (thick-client) application development, as well as mobile device programming. PuguaSoft also creates a variety of Open Source software that's available at no cost. For more information, visit their official website at

Which websites allow one to download open source web design software?

One site that has open source web design software is Microsoft. You can use their notepad client to design webpages. Adobe also offers free trials on their world famous Adobe Dreamweaver software.

What does the software program Active Ports allow computer users to do?

The program Active Ports allows one to enable all open TCP/IP and UDP ports on a local computer. The program has a rating of 3 stars out of 5 and has an average rating compared to other programs.

Why did china decide to open its ports located on the pacific ocean?

because the Americans need to be polluted

What does TIFF Viewer software do?

The TIFF Viewer allows the user to open TIFF/TIF files. Depending on the software client, you may be able to convert to a PDF format which can be used with Adobe Reader.

Do you have to pay to use Minecraft servers?

No, you do not. You can host a Minecraft server as long as you have connection. Please note that you need to open your ports on your router to make a Minecraft server. If you do not have access to this, you can download a VPN-software like Hamachi or Cisco.

How do you open your ports?

Open the ports in a computer depends on the platforms and operating system being used . Open the Windows Firewall by clicking the Start button and clicking on the Control Panel. On the left pane, there is the Advanced settings which will open the ports.

How do you port forward in pacenet?

You have to setup a router and open the ports in the router for this purpose. But Pacenet have blocked many ports so you can go to their local office and ask them to open the ports.

How do i send a text attachment to my Email?

Assuming you don't want the text in your email, and depending upon the email client software you use, you can probably drag the text file into or onto your email message (while it's open) and drop the text file there. If that doesn't work, there would usually be an option to attach a file somewhere in the top row of commands in your email client software. Failing that, get yourself some better email client software. Then send the email to your own email address (eddress). Good luck.

What are some nurses roles as a communicator?

As a communicator the nurse will be able to get his\her client to open up his\her problems nurse has to use the right tone so that the client will open up.With that the client will trust the nurse and she\he will tell the nurse the problem not than it Will be no use for the nurse to give help to the client when she\he does not even know the main thing.Main thing has to be a good communicator and give time for the client to talk.So he can work from there the problem and things that need to be done in order for the client to recover from the sickness.

What was Pidgin software formerly called?

Pidgin software was formerly called Gaim. Pidgin is an open-source instant messaging client. Pidgin is based on a library called libpurple. Libpurple supports multiple instant-messaging protocols.

What is the difference between proprietary software and open-source software?

proprietary software You need an authorized license paid for in order to use the software. open-source software any body can use, an is usually Free. You can use the software for you personal use. Give a donation is you like it. You are not supposed to change the "code" or modify it.

If you have just installed SP2 on a Windows XP workstation and now the Antivirus software is no-longer working Which is the best way forward to fix this issue?

Open the relevant ports on Xp firewall

What is handshake in packet transmission?

The TCP 3 way handshake is when the server states what ports it has open, the client requests access to the port, and the server grants access. Layman's terms: Server - I have beer at my place. Client - Can I come over? Server - Sure!

Do tractors without trailers need to weigh?

Yes, bobtails are required to cross open scales and ports of entry, all the same.

How do you find the port number for a particular IP address?

Ports are like doors to a computer each computer has many ports. Without any open ports your computer wouldn't be able to access the internet, to find open ports you can try a portscan

How do you open tx enc files?

for open .tx.enc u need jupiter-control panel software

How do you open VCE file or to run in on window 7?

To open and run VCE files on Windows 7 you need software known as Visual CertExam. This software is used to simulate VCE exams.

Which websites show how to open ports in a firewall?

If its a web-server your trying to access the ports would be 80 and 8080 along with 443 To know more visit wpsecurer. com/categories/26