Legal Information |
|
Changes the current working directory on the local host to dir. LCD is a synonym for LOCAL-CD. See LOCAL-CD for more information.
FORMATLCD dirLDIR
Displays the contents of your local working directory. LDIR is the same as LOCAL-DIRECTORY.
FORMATLDIREXAMPLE
FTP>ldir *.comLIST
USERS:[FLOWERS.DOC.V32]
DOC.COM;2 1 1-APR-1996 01:36 FLOWERS_FILES (RWED,RWED,,)
LOGIN.COM;3 5 1-APR-1996 19:07 FLOWERS_FILES (RWED,RWED,,)
LOGIN.COM;2 5 1-APR-1996 19:04 FLOWERS_FILES (RWED,RWED,,)
LOGIN.COM;1 5 1-APR-1996 18:49 FLOWERS_FILES (RWED,RWED,,)
Total of 16 blocks in 4 files. FTP>
Displays automatic login information for host. See the SET command for information about setting automatic login information for a host.
FORMATLIST [host]PARAMETERS
host - Specifies the host whose automatic login information you are trying to display. If you do not specify host, LIST displays automatic login information for all hosts for which login information has been set.Restrictions
Do not use this command when connected to a remote host.EXAMPLE
This example shows how to set and list information for the DS.INTERNIC.NET host.
FTP>set ds.internic.net /user=anonymous /pass=guest
FTP>list
DS.INTERNIC.NET
User: anonymousPassword: guestFTP>
Changes the current working directory on the local host to dir. LOCAL-CD is the same as LCD.
FORMATLOCAL-CD dirPARAMETERS
dir - Specifies the name of the directory to which to change the current working directory.EXAMPLE
FTP>lcd [-]LOCAL-DIRECTORY
Connected to USERS:[FLOWERS.DOC].
FTP>
Displays the contents of your local working directory. LOCAL-DIRECTORY is a synonym for LDIR.
FORMATLOCAL-DIRECTORYLOCAL-PWD
Displays the current working directory on the local host. LOCAL-PWD is a synonym for LPWD.
FORMATLOCAL-PWDLOGIN
Identifies you to a remote FTP server. LOGIN is the same as USER.
FORMATLOGIN user [password]PARAMETERS
user - Specifies your user name on the remote server.
password - Specifies your password on the remote server. If you do not specify password and the remote site requires one, you are prompted for it. In either case, the password is not echoed.Restrictions
This example shows how to connect to a remote host and log in.
$ ftp irisd.comLPWD
Connection opened (Assuming 8-bit connections)
IRISD.COM>login HOLMES password
IRISD.COM>
Displays the current working directory on the local host. LPWD is the same as LOCAL-PWD.
FORMATLPWDEXAMPLE
FTP>lpwdLS
Connected to USERS:[FLOWERS.DOC].
FTP>
Displays a names-only listing of files on the remote host. You can use wildcard specifications.
FORMATLS [file_spec] [output_file]PARAMETERS
file_spec - Specifies the file specification to use in the directory lookup on the remote host. If you do not specify file_spec, the current working directory on the remote host is used. Any wildcards used are interpreted in the context of the remote host operating system.
output_file - Specifies the name of the file to which to write the directory listing. If output_file is not specified, the list is directed to SYS$OUTPUT:.Restrictions
This example shows how to retrieve the directory listing of the files matching the wildcard character *.
FLOWERS.COM>ls *.MDELETE
$mailinterface.
mymail.
todo.
FLOWERS.COM>
Deletes multiple files on the remote host. MDELETE is a synonym for MULTIPLE DELETE.
FORMATMDELETE filesMGET
Copies multiple files from the remote host to the local host. MGET is a synonym for MULTIPLE GET.
FORMATMGET filesMKDIR
Creates the directory dir on the remote host. MKDIR is a synonym for CREATE-DIRECTORY.
FORMATMKDIR dirMODE
Sets the transfer mode to COMPRESSED or STREAM (the default).
FORMATMODE modePARAMETERS
mode - Specifies one of two values: COMPRESSED or STREAM (the default).Restrictions
This example shows how to enable COMPRESSED mode.
FLOWERS.com>mode cMPUT
Type: Ascii (Non-Print), Structure: VMS, Mode: Compression
FLOWERS>COM>
Copies multiple files from the local host to the remote host. MPUT is a synonym for MULTIPLE SEND.
FORMATMPUT filesMULTIPLE DELETE
Deletes multiple files on the remote host. If you have turned on CONFIRM, (to confirm multiple transactions interactively), you are asked to confirm the deletion of each file. MULTIPLE DELETE is the same as MDELETE.
FORMATMULTIPLE DELETE filesPARAMETERS
files - Specifies which files to delete. Wildcard characters in files are expanded on the remote host.Restrictions
This example shows how to delete all files matching the remote wildcard * character.
FLOWERS.COM>multiple delete *.com;*
< List started
MULTIPLE GET Copies multiple files from the remote host to the local host. If you have turned on CONFIRM (to confirm multiple transactions interactively), you are asked to confirm the transfer of each file. MULTIPLE GET is the same as MGET and MULTIPLE RECEIVE.
FORMATMULTIPLE GET filesPARAMETERSfiles - Specifies the names of the files to be copied. Wildcard characters are expanded on the remote host.RestrictionsEXAMPLE
- Use this command only when connected to a remote host.
- Most remote hosts require that you log in before using the MULTIPLE GET command.
This example shows how to transfer all files matching the * wildcard character.
FLOWERS.COM>multiple get *.com
MULTIPLE PUT Copies multiple files from the local host to the remote host. MULTIPLE PUT is a synonym for MULTIPLE SEND.
FORMATMULTIPLE PUT filesMULTIPLE RECEIVECopies multiple files from the remote host to the local host. MULTIPLE RECEIVE is a synonym for MULTIPLE GET.
FORMATMULTIPLE RECEIVE filesMULTIPLE SENDCopies multiple files from the local host to the remote host. If you have turned on CONFIRM (to confirm multiple transactions interactively), you are asked to confirm the transfer of each file. MULTIPLE SEND is the same as MULTIPLE PUT and MPUT.
FORMATMULTIPLE SEND filesPARAMETERSfiles - Specifies which files to copy. Wildcard characters in files are expanded on the local host.RestrictionsEXAMPLE
- Use this command only when connected to a remote host.
- Most remote hosts require that you log in before using the MULTIPLE SEND command.
This example shows how to transfer the files which match the "*.COM" wildcard.
YOYDYNE.COM>multiple send *.com
YOYDYNE.COM>
Search Knowledge Base Feedback