Omron CS1W-ETN01 Operation Manuals page 159

Sysmac cs1 series ethernet unit
Hide thumbs Also See for CS1W-ETN01:
Table of Contents

Advertisement

Using FTP Commands
7-5-2 Using the Commands
open
Format
Function
user
Format
Function
ls
Format
Function
Example
dir
Format
Function
Example
rename
Format
Function
mkdir
Format
Function
• The parent directory is the directory one above the working directory.
open [IP_address or host_name_of_FTP_server]
Connects the FTP server. Normally when the FTP client is booted, the FTP serv-
er IP address is specified to execute this command automatically.
user [user_name]
Specifies the user name. Specify the FTP login name set in the Ethernet Unit
system setup. The default FTP login name is "CONFIDENTIAL."
If a non-default login name is used, it must be followed by the password. In this
case, enter the FTP password set in the system setup.
The user name is automatically requested immediately after connection to the
FTP server.
ls [-l] [REMOTE_FILE_NAME [local_file_name]]
Displays the remote host (Memory Card or EM File Memory) file names.
Set the switch [-l] to display not only the file names but the creation date and size
as well. If the switch is not set, only the file names will be displayed.
You can specify a file name in the Memory Card or EM File Memory if desired.
If a local file name is specified, the file information will be stored in the specified
file in the host computer.
ls /
dir [REMOTE_FILE_NAME [local_file_name]]
Displays the file names, date created, and size of the files in the remote host
(Memory Card or EM File Memory). It displays the same information as com-
mand "ls –l".
Specify a file name in the Memory Card or EM File Memory as the remote file
name.
If a local file name is specified, the file information is stored in the specified file in
the host computer.
dir /
rename CURRENT_FILE_NAME NEW_FILE_NAME
Changes the specified current file name to the specified new file name.
rename can be used only to change the file name. It cannot be used to move the
file to a different directory.
mkdir DIRECTORY_NAME
Creates a directory of the specified name at the remote host (Memory Card or
EM File Memory).
An error will occur if a file or directory of the same name already exists in the
working directory.
Section
7-5
147

Advertisement

Table of Contents
loading

Table of Contents