Computing.Net > Forums > Disk Operating System > DOS FTP TCP Port

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DOS FTP TCP Port

Reply to Message Icon

Name: Eric
Date: June 6, 2002 at 20:35:47 Pacific
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: david Miller
Date: June 8, 2002 at 02:45:03 Pacific
Reply:

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_FTP

Reason 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.
"


0
Reply to Message Icon

Related Posts

See More


A ridiculous question autoexec.bat



Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: DOS FTP TCP Port

Need help in DOS ftp www.computing.net/answers/dos/need-help-in-dos-ftp-/2085.html

Dos ftp www.computing.net/answers/dos/dos-ftp/12176.html

Dos Batch file for Dos FTP www.computing.net/answers/dos/dos-batch-file-for-dos-ftp/423.html