10 FTP Server
10-10
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
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.
Format
user [user_name]
Function
• Specifies the user name. Specify the FTP login name set in the built-in EtherNet/IP port system
setup.
• The user name is automatically requested immediately after connection to the FTP server.
Format
ls [-l] [remote_file_name [local_file_name]]
Function
• Displays the names of files on the remote host (on the SD Memory Card).
• Set the switch [-l] to display not only the file names but the creation dates and sizes as well. If the
switch is not set, only the file names are displayed.
• Specify a file on the SD Memory Card for the remote file name.
• If a local file name is specified, the file information is stored in the specified file.
Format
mls remote_file_name local_file_name
Function
• Displays a list of the names of files on the remote host (on the SD Memory Card).
• Specify the directory or file name on the SD Memory Card you wish to list for remote file name.
Input an asterisk (*) to display a list of the current working directory.
• If a local file name is specified, the file information is stored in the specified file. Input a hyphen (-)
to display a list of the remote host but not store the list of file names.
10-5-2 Using the Commands
open
user
ls
mls