Omron CJ1W-ETN21 operation manual User, Dir, Rename

Models: CJ1W-ETN21

1 242
Download 242 pages 30.9 Kb
Page 98
Image 98

Using FTP Commands

Section 4-5

user

Format

user [user_name]

Function

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

Format

ls [-l] [REMOTE_FILE_NAME [local_file_name]]

Function

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 speci- fied file in the host computer.

dir

Format

dir [REMOTE_FILE_NAME [local_file_name]]

Function

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.

rename

Format

rename CURRENT_FILE_NAME NEW_FILE_NAME

Function

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.

74

Page 98
Image 98
Omron CJ1W-ETN21 operation manual User, Dir, Rename