Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
What is the command syntax for connecting to an FTP site with a port number. Let's say, anonymous, 25.50.50.190 under port 6666.

The DOS FTP Client was not designed to do such a thing I believe so it does not have that functionality.
It is suggested that you use a more friendly FTP client tool to access different ports.
You can use the IE Browser:
ftp://mymachine:PORT
OR
Use another more advanced tool like WS_FTPReason is that Port 20 and 21 are ALWAYS used for FTP and even when you start it on another port the transition to that port is made in with PORT command by these more advanced tools after establishing connection on default ports....
Here is quote from RFC: http://rfc.net/rfc959.html
"DATA CONNECTION MANAGEMENT
Default Data Connection Ports: All FTP implementations must
support use of the default data connection ports, and only the
User-PI may initiate the use of non-default ports.Negotiating Non-Default Data Ports: The User-PI may specify a
non-default user side data port with the PORT command. The
User-PI may request the server side to identify a non-default
server side data port with the PASV command. Since a connection
is defined by the pair of addresses, either of these actions is
enough to get a different data connection, still it is permitted
to do both commands to use new ports on both ends of the data
connection.
"

![]() |
A ridiculous question
|
autoexec.bat
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |