Example, Mode, Mput – HP Integrity NonStop H-Series User Manual
Page 64: Mls mode mput

mkdir directory-name
directory-name
specifies the name of the new directory. Specify directory-name as required by the remote
system.
The directory is created in the current working directory.
Example
To create a directory named memos, use the following command:
ftp> mkdir memos
mls
Use the mls command to display abbreviated directory information about one or more remote files.
mls remote-files [ remote-files ] ... local-file
remote-files
is a file name or a wild-card name that specifies the remote files you want described.
local-file
sends the output to a local file. FTP prompts you to confirm that you want to send output to the
specified file. If the file does not exist, FTP creates a text file.
If you specify local-file by typing a hyphen (-), the output appears on your terminal.
This is a required parameter. You must specify either a file name or a hyphen.
Example
Assume glob is on. The following command displays the file names cust11, cust45, and cust99:
ftp> mls cust{11,45,99}
cust11
cust45
cust99
mode
Use the mode command to set the transmission mode. The default mode is stream. (This is the only
mode currently available with NonStop FTP.)
mode [ mode-name ]
mode-name
specifies the transmission mode. Only stream is valid.
In stream mode, data is transmitted as a stream of bytes.
Example
To set the mode, enter the following command:
ftp> mode stream
mput
Use the mput command to copy one or more local files to the current working directory on the
remote system.
mput local-files [ local-files ] ...
local-files
is a file name or a wild-card name that specifies the local files you want to copy. If you specify
a wild-card name, the glob toggle must be on. If you do not qualify a file name, the file is taken
from the current default subvolume. The file name is case-sensitive.
64
FTP—Transferring Files