1 FUNCTIONS
1.9 File Transfer Function (FTP server)
125
1
Details of FTP command
This section describes the FTP commands on the FTP client side supported by the Ethernet-equipped module, and the
methods of using those commands.
• Note that depending on the client side FTP application, some of the FTP commands may not operate as
described in this manual. Refer to the manual for the FTP client, and check the functions, operation
methods, and so on.
• The section enclosed in square brackets [ ] in the specification format can be omitted.
â– FTP server support command
Command name Description
binary Function Notifies the FTP server that the file will be transferred without conversion. The return code and kanji codes are
also not converted.
These settings are automatically applied to the Ethernet-equipped module.
Specification format binary (abbreviated: bin)
bye Function Closes the connection with the FTP and quits the FTP.
Specification format bye
Same function quit
close Function Closes the connection with the FTP server.
Specification format close
delete Function Deletes files stored in the CPU module.
Specification format delete "file path name"
Example When deleting files stored in the SD memory card
delete 2:\MAINSEQ1.PRG
Similar command mdelete
dir Function Displays the file name, date of creation and volume of files stored in the CPU module.
Specification format dir [drive name:\]
Example When displaying the detailed information of files stored in the data memory
dir 4:\
Similar command ls
get Function Reads a file from the CPU module.
Specification format get "source file path name" [destination file path name]
Example 1 When reading files stored in the SD memory card and store with same file name
get 2:\MAINSEQ1.PRG
Example 2 When reading files stored in the SD memory card and store with different file name
get 2:\SEQ1BAK.PRG\SEQ\SEQ10LD.PRG
Caution • If the destination file path name (FTP client side) is not specified, the file is stored in the FTP client side with
the same file name as the source file name (CPU module side).
• The transfer destination is in the currently connected directly when FTP is started and connected.
ls Function Displays the names of files stored in the CPU module.
Specification format ls [drive name:\]
Example When displaying the detailed information of files stored in the data memory
ls 4:\
Similar command dir
mdelete Function Deletes files stored in the CPU module.
When deleting multiple files, specify the file name and extension in the file path name with wild cards (*, ?).
Specification format mdelete "file path name" (abbreviated: mdel)
Example When deleting all files with "CSV" extension from files stored in SD memory card
mdelete 2:\*.CSV
Similar command delete