Details Of Ftp Commands - Mitsubishi L02CPU User Manual

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

9.4.3

Details of FTP commands

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 some FTP commands may not function as described in this manual, depending on the FTP application used on the
FTP client side.
Check the functions and operation methods, referring to the manual(s) for the FTP client.
(1) FTP server support commands
binary
bye
close
delete
dir
get
130
Function
Notifies the FTP server that the file will be transferred without conversion.
The return code and kanji codes are also not converted.
This command is set automatically in the CPU module.
Specification
binary (abbreviation: bin)
format
Function
Closes the connection with the FTP and quits the FTP.
Specification
bye
format
Identical
quit
command
Function
Closes the connection with the FTP server.
Specification
close
format
Function
Deletes a file stored in the CPU module.
Specification
delete "file path name"
format
Example
When deleting a file stored in the SD memory card:
delete 2:\MAINSEQ1.USR
Similar
mdelete
command
Function
Displays the file name, date of creation, and volume of files stored in the CPU module.
Specification
dir [drive name:\]
format
Example
When displaying the detailed information of the files stored in the SD memory card:
dir 2:\
Similar
ls
command
Function
Reads a file from the CPU module.
Specification
get "source file path name" [destination file path name]
format
Example 1
When reading a file stored in the standard RAM and saving it under the same file name:
get 3:\MAINSEQ1.QDR
Example 2
When reading a file stored in the standard RAM and saving it under a different file name:
get 3:\SEQ1BAK.QDR \SEQ\SEQ10LD.QDR
• When no destination file path name (FTP client side) is specified, the file is saved in the
Note
FTP client using the same source file name (CPU module side).
• The transfer destination is on the current directory where FTP is started up and
connected to the server.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents