Syntax: connect [<servername>]

FTP Command Index

The CONNECT command initiates a connection to an FTP server. If no site is specified, a dialog box will prompt for this information. Unlike OPEN, this command does not prompt for user name and password. This information must be entered manually. For example, the following command sequence would connect you to an FTP server that does not use a passthrough server (firewall):

CONNECT <server>
USER <username>
PASS <password>

Note that passwords appear as text on screen when you enter them directly in the command window. Because the OPEN command prompts for passwords with dialog boxes that do not display password text, this command is preferable for most connections. Use CONNECT if you are troubleshooting connections through a firewall.