![background image](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528160.webp)
7-5
Section
Using FTP Commands
148
rmdir
Format
rmdir DIRECTORY_NAME
Function
Deletes the directory of the specified name from the remote host (Memory Card
or EM File Memory).
The directory must be empty to delete it.
An error will occur if the specified directory does not exist or is empty.
pwd
Format
pwd
Function
Displays the remote host’s (Ethernet Unit) current work directory.
cd
Format
cd [directory_name]
Function
Changes the remote host (Ethernet Unit) work directory to the specified remote
directory.
The files in the Memory Card are contained in the MEMCARD directory under
the root directory (/). The files in EM File Memory are contained in the EM direc-
tory under the root directory (/). The root directory (/) is the directory used when
logging into the Ethernet Unit. No MEMCARD directory will exist if a Memory
Card is not inserted in the PC or if the Memory Card power indicator is not lit. No
EM directory will exist if EM File Memory does not exist.
cdup
Format
cdup
Function
Changes the working directory at the remote host to the parent directory (one
directory above the current working directory).
type
Format
type data_type
Function
Specifies the file data type. The following data types are supported:
ascii:
Files are transferred as ASCII data
binary (image): Files are transferred as binary data.
All files are treated by the PC as binary files. Before reading or writing any files,
always use the
type
command to set the file type to binary. File contents cannot
be guaranteed if transferred as ASCII data.
The default file type is ASCII.
get
Format
get FILE_NAME [receive_file_name]
Function
Transfers the specified remote file from the Memory Card or EM File Memory to
the local host.
A receive file name can be used to specify the name of the file in the local host.
mget
Format
mget FILE_NAME
Function
Allows the use of a wildcard character (*) to transfer multiple remote files from
the Memory Card or EM File Memory to the local host.
put
Format
put file_name [DESTINATION_FILE_NAME]