beautypg.com

5 using ftp commands, Using ftp commands, Table of commands – Omron CS CJ1W-ETN21 User Manual

Page 97: Using the commands, 5-1 table of commands, 5-2 using the commands, Open

background image

73

Using FTP Commands

Section 4-5

4-5

Using FTP Commands

This section describes the FTP commands which the host computer (FTP
client) can send to the Ethernet Unit’s FTP server. The descriptions should
also apply to most UNIX workstations, but slight differences may arise. Refer
to your workstation’s operation manuals for details.

4-5-1

Table of Commands

The FTP commands which can be sent to the Ethernet Unit are listed in the
following table.

• The Ethernet Unit is considered to be the remote host and the host com-

puter (FTP client) is considered to be the local host.

• A remote file is a file on the Memory Card or in EM File Memory in the

CPU Unit. A local file is one in the host computer (FTP client).

• The parent directory is the directory one above the working directory.

4-5-2

Using the Commands

open

Format

open [IP_address or host_name_of_FTP_server]

Function

Connects the FTP server. Normally when the FTP client is booted, the FTP
server IP address is specified to execute this command automatically.

Command

Description

open

Connects the specified host FTP server.

user

Specifies user name for the remote FTP server.

ls

Displays the Memory Card file names.

dir

Display the Memory Card file names and details.

rename

Changes a file name.

mkdir

Creates a new directory in the working directory in the remote host.

rmdir

Deletes a new directory from the working directory in the remote host.

cd

Changes the Ethernet Unit work directory to the specified directory.

cdup

Changes the working directory at the remote host to the parent direc-
tory.

pwd

Displays the Ethernet Unit work directory.

type

Specifies the data type of transferred files.

get

Transfers the specified file from the Memory Card to the local host.

mget

Transfers multiple files from the Memory Card to the local host.

put

Transfers the specified local file to the Memory Card.

mput

Transfers multiple local files to the Memory Card.

delete

Deletes the specified file from the Memory Card.

mdelete

Deletes multiple files from the Memory Card.

close

Disconnects the FTP server.

bye

Closes the FTP (client).

quit

Closes the FTP (client).