VMS Help
TCPIP Services, FTP, Starting FTP
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
You can start an FTP session in any of the following ways:
o At the DCL prompt, enter the FTP command and specify a remote
host.
o At the DCL prompt, enter the FTP command with no parameters.
At the FTP prompt, enter the CONNECT or open command,
specifying a remote host.
o By using the /FTP qualifier on the DCL COPY and DIRECTORY
commands.
o Invoke and use FTP from a command procedure
You must connect to a remote host before you can enter an FTP
command that affects or displays files on the remote host. You
can invoke FTP and, without connecting to a remote host first,
enter the FTP commands that customize the FTP environment.
When you establish an FTP connection, the remote user name
defaults to your user name on the local system.
If you have a different user name on the remote system, do one of
the following:
o On the FTP command line, enter the /USERNAME qualifier.
o At the user name prompt, type your remote user name, for
example:
$ FTP SITE1
220 site1.midwest.billing.bench.com FTP server (Version 5.0) ready
Connected to SITE1.midwest.billing.bench.com.
Name (SITE1:antel): crowe <return>
331 Username CROWE requires a Password
Password: <Return> password not echoed
230 User logged in
If your connection is with another OpenVMS host, it executes your
LOGIN.COM procedure. You can use your LOGIN.COM command procedure
to customize the environment for your FTP sessions.
The following example connects to host XENO using the FTP
command:
$ FTP XENO /USER="bennings" /PASSWORD="keysimpl"<Return>
220 xeno FTP Server (Digital UNIX Version 5.60) ready
Connected to XENO.site1.acctg.com.
230 User logged in
FTP>
In the following example, user dave invokes FTP and connects to
UNIX host sanfran using the CONNECT command:
$ FTP <Return>
FTP> CONNECT SANFRAN <Return>
220 sanfran.golden.com FTP server (Digital UNIX Version 5.60) ready
Connected to sanfran.golden.com.
Name (sanfran:dave): <Return>
331 Password required for dave
Password: (password not echoed) <Return>
230 User logged in
FTP>
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.