Submit a ticketCall us

Cloud Workloads: Meet Your New Hybrid IT Reality
Have you found yourself in that evolving, hybrid IT grey area and wondering if cloud workloads are now part of your purview? And if so, will monitoring cloud workloads require a new set of dedicated cloud monitoring tools? Your answers: yes, they should be, and no, they don’t.

Find out how SolarWinds® Server & Application Monitor (SAM) can help you monitor your cloud workloads side by side with your on-premises workloads. Register Now.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > PORT FTP command

PORT FTP command

Updated May 8, 2017

Overview

This article describes the use of the Data Port (PORT) FTP command.

Environment

All Serv-U versions

Detail

The PORT command is issued by the client to initiate a data connection required to transfer data (such as directory listings or files) between the client and server. This command is used during "active" mode transfers.

When issuing the PORT command, the client will include information on the address and port that the server is to use in order to connect back to the client. Thus, the structure of this command is clearly defined to allow servers to parse this information from the command. The structure of the command is: PORT (h1,h2,h3,h4,p1,p2).

The numbers used for the values of h1-h4 constitute the IP address the server should connect on. The numbers used for the values of p1-p2 are used to calculate the port number. In order to get the decimal value of the port, the following formula is used: (p1 * 256) + p2 = data port.

Common responses

See also

 

Last modified

Tags

This page has no custom tags.

Classifications

Public