128
1 FUNCTIONS
1.9 File Transfer Function (FTP server)
■Ethernet-equipped module dedicated subcommand
This section describes the Ethernet-equipped module dedicated subcommands that are added to the FTP command's quote
command and sent.
Command name Description
change Function Shows or changes the attributes of files stored in the CPU module.
Specification format
1
When displaying the file attributes
quote change file path name
One of the following is displayed as the execution results when the process ends normally.
• When specified file is read-only: -----R
• When specified file is writable and readable: -----W
Specification format
2
When changing the file attributes
quote change "file path name" "attribute"
Specify the attributes with one of the following methods.
• When changing to a read-only file: r
• When changing to a writable and readable file: w
Example 1 When displaying the attributes of files stored in the SD memory card
quote change 2:\PRG1.PRG
Example 2 When changing the attributes of files stored in the SD memory card
quote change 2:\PRG1.PRG r
cpuchg Function Specifies the access destination CPU module when using a multi-CPU system configuration.
This may also display the current access destination CPU module.
Specification format quote cpuchg [access destination CPU module]
Access destination CPU module: Specify the CPU module from which files are to be accessed.
Shows the method for specifying the access destination CPU module.
• No input: Checks the current access destination CPU module.
• controlPLC: Specifies the control CPU as the access destination CPU module.
• no1: Specifies the CPU No.1 as the access destination CPU module.
• no2: Specifies the CPU No.2 as the access destination CPU module.
• no3: Specifies the CPU No.3 as the access destination CPU module.
• no4: Specifies the CPU No.4 as the access destination CPU module.
The execution results when the access is completed normally are shown in the following manner.
• When setting access destination CPU module: 200 Command Okey
• When displaying access destination CPU module: 200 Target cpu is "access destination CPU module".
The following appears if the specified access destination CPU module is not found.
• 557 Cpu not found
Example 1 When specifying control CPU as access destination CPU module
quote cpuchg controlPLC
Example 2 When displaying the currently set access destination CPU module
quote cpuchg
Caution The access destination CPU module after logging into the RJ71EN71 with the open/user command is the
RJ71EN71 control CPU.
passwd-rd Function Sets the read password (file password) registered as the file transfer target file to the Ethernet-equipped module.
Shows/clears the read password set in FTP.
Use this command only when a read password is registered for the file transfer target file. The CPU module
checks the password when accessing the specified file.
Specification format quote passwd-rd [read password]
The following appears as the execution results when the command ends normally.
• When setting a read password: 200 Command successful
• When displaying the read password: 200 Read-password is "read password"
• When clearing the read password: 200 Command successful
• When displaying the state with a read password not set: 200 Read-password is not set.
Example 1 When specifying the read password (ABCD1234@efgh)
quote passwd-rd ABCD1234@efgh
Example 2 When displaying the read password currently set in FTP
quote passwd-rd
Example 3 When clearing the read password currently set in FTP
quote passwd-rd c, or quote passwd-rd C
Caution • One read password can be set for the FTP of the Ethernet-equipped module. When the file transfer target file
changes and when a read password is registered for the change destination file, reset the read password for
the target file.
• The read password is initialized (cleared) when logging into the Ethernet-equipped module.