Appendix C: Using FTP 121

Example:

DMS>get source ‘/a/b/filename’

DMS>put ‘/a/b/filename’ destination

If you have a client session on the DMS-100 switch, destination and source file names on the local host can be in lowercase or uppercase. But since the DMS CI tries to convert every letter on the command line to uppercase, you must take care and place single quotes around path names that are in lowercase. Also, use single quotes when using a forward slash in a pathname or filename.

Example:

DMS>get ‘dmopro.exec’ ‘/S00DTEMP/DMOPRO’ DMS>put ‘/S00DTEMP/RECORDFILE’ ‘recordfile’

Note: The CI on the DMS-100 switch converts all letters to uppercase if they are not enclosed in single quotes.

When FTPing to the DMS-100 switch (the DMS is the server), filenames are converted to uppercase unless enclosed by single quotes.

DMS FTP client commands

This section lists the commands that the client implements. FTP clients are slightly different from one implementation to another. Some clients have more commands than others. The DMS client has a small command list but it has the quote command feature which allows it to send any command “as is”. This makes it flexible.

Note: Some commands are not available in field loads.

FTP commands are summarized in table 33.

Table 33 FTP commands on the DMS-100 switch

Command

Description

 

 

ADDUSERINFO

add user-related information

 

 

ASCII

change file transfer to ASCII type

 

 

AUTOLRECL

enable or disable automatic record length detection

 

 

BINARY

change the file transfer to binary type

 

 

CD

change the working directory

 

 

COMMANDMASK

set the command mask for ADDUSERINFO

 

 

COMMANDTIMEOUT

set the command idle time for ADDUSERINFO

 

 

DELETE

delete the file specified in the path name

 

 

(Sheet 1 of 2)

 

 

 

DMS-100 Family EIU User Guide TELECOM12

Page 121
Image 121
Cabletron Systems manual DMS FTP client commands, FTP commands on the DMS-100 switch Command Description