Download  Print this page

Mitsubishi Electric FX5 User Manual Page 109

Melsec iq-f series, ethernet communication.
Hide thumbs

Advertisement

Details of FTP command
This section describes the FTP commands on the FTP client side supported by the CPU 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
Specification format
bye
Function
Specification format
Same function
cd
Function
Specification format
Example
close
Function
Specification format
delete
Function
Specification format
Example
Similar command
dir
Function
Specification format
Example
Similar command
get
Function
Specification format
Example 1
Example 2
Caution
ls
Function
Specification format
Example
Similar command
mdelete
Function
Specification format
Example
Similar command
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 CPU module.
binary (abbreviated: bin)
Closes the connection with the FTP and quits the FTP.
bye
quit
Change the current directory.
cd [directory path]
cd 2:\LOGGING\
Closes the connection with the FTP server.
close
Deletes files stored in the CPU module.
delete "file path name"
When deleting files stored in the SD memory card
delete 2:\MAINSEQ1.PRG
mdelete
Displays the detailed information (file name, date of creation, volume) of the file stored in the CPU module.
dir [drive name:\]
dir 2:\
ls
Reads a file from the CPU module.
get "source file path name" [destination file path name]
When reading files stored in the SD memory card and store with same file name
get 2:\LOG01_00000001.BIN
When reading files stored in the SD memory card and store with different file name
get 2:\LOG01_00000001.BIN LOG\LOG01_01.B
• 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.
Displays the names of files stored in the CPU module.
ls [drive name:\]
ls 2:\
dir
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 (*, ?).
mdelete "file path name" (abbreviated: mdel)
When deleting all files with "CSV" extension from files stored in SD memory card
mdelete 2:\*.CSV
delete
8 FILE TRANSFER FUNCTION (FTP SERVER)
8.3 FTP command
8
107

Advertisement

Table of Contents

Comments to this Manuals

Symbols: 0
Latest comments: