10 FTP Server
dir
Format
dir [remote_file_name [local_file_name]]
Function
• Displays the names, creation dates, and sizes of files on the remote host (on the Virtual SD Mem-
ory Card).
• It displays the same information as command [ls -l].
• Specify a file on the Virtual SD Memory Card for the remote file name.
• If a local file name is specified, the file information is stored in the specified file.
mdir
Format
mdir remote_file_name local_file_name
Function
• Displays the names of files, subdirectories, creation dates, and sizes on the remote host (on the
Virtual SD Memory Card).
• Specify the directory or file name on the Virtual SD Memory Card to list as the remote file name.
Input a hyphen (-) 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 and not store the list of file names.
rename
Format
rename current_file_name new_file_name
Function
• Changes the specified current file name to the specified new file name.
• If the new file name is already used on the remote host (on the Virtual SD Memory Card), the
existing file is overwritten by the file for which the name was changed.
• rename can be used only to change the file name. It cannot be used to move the file to a different
directory.
mkdir
Format
mkdir directory_name
Function
• Creates a directory of the specified name at the remote host (on the Virtual SD Memory Card).
• An error will occur if a file or directory of the same name already exists in the working directory.
10-12
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)