120
1 FUNCTIONS
1.9 File Transfer Function (FTP server)
Operations on external device (FTP client) side
This section describes the procedures and required processes on the external device side for using the Ethernet-equipped
module's file transfer function (FTP server). The FTP commands and input format used for the operation are shown in the
explanation. ("" means to input CR, Enter or the Return key.)
(ftp q)
NO
YES
YES
(quote password-lock
q)
(quote pm-write
q)
(bye q)
NO
YES
NO
YES
NO
YES
NO
YES
YES
NO
(binary q) (binary q)
(quote
fastmode
onq)
NO
YES
NO
YES
NO
NO
NO
YES
NO
YES
YES
Start
Start the FTP client.
(open "Ethernet-equipped module's IP address" q)
(quote password-unlock
"remote password" q)
Login to the Ethernet-equipped module
Unlock the remote password.
Is the FTP
communication port subject
to remote password
check?
Enable the high-speed
write mode?
Lock the remote password.
Disconnect from
the Ethernet-equipped module.
Transfer files to the program memory.
End
Is the FTP
communication port subject
to remote password
check?
Is the high-speed
write mode enabled?
Are contents in
the program cache memory
changed?
Write files
to the FTP server?
Is file transfer
completed?
(dir q
or ls q)
(dir q or
ls q)
No file conversion is notified. No file conversion is notified.
Check the file list.
Enable the high-speed
write mode.
Check the file list.
(quote passwd-rd
"read password" q)
(get "file name" q)
Enter a file password.
Read the file.
Does the read
target file exist?
Is file
password set for the
target file?
(quote passwd-wr
"write password" q)
(delete "file name" q or
rename "current file name"
"new file name" q)
(put "file name" q)
Can it be overwritten?
Does the write
target file exist?
Enter a file password.
Write the file.
Delete or rename the file.
Is file
password set for the
target file?