• A login name consists of up to 12 characters.
•
A password consists of 8 to 32 characters.
• Always set a password when you set a new login name. The login name will not be valid unless
a password is set for it.
• The login name is invalid if the login name is not set or characters other than single-byte alpha-
numeric characters are used.
FTP File Transfer Mode
FTP has two file transfer modes: ASCII mode and binary mode. Before you start to transfer files,
use the type command (specifies the data type of transferred files) to select the required mode.
• To transfer a file in binary format: Select binary mode.
• To transfer a file in ASCII format: Select ASCII mode.
Multiple Accesses to the Same File
Files accessed with the FTP server may be simultaneously accessed by multiple sources with com-
munications commands from other FTP servers or programming instructions.
Exclusive control is required to prevent multiple accesses.
This is to prevent reading and writing the same file at the same time.
The CPU Unit automatically performs exclusive control as shown below only when the following
combinations of instructions are used.
In other cases, use file operation instructions (Change File Name, Copy File, etc.) or communica-
tions commands and perform exclusive control.
• Exclusive Control When Accessing the Same File on the SD Memory Card
First access
Instructions
*1
File operations from the
Sysmac Studio
FTP server
Reading Writing Reading Writing Reading Writing
L
a
t
e
r
a
c
c
e
s
s
Instruc-
tions
Rea
ding
Exclusive control is per-
formed automatically
, and
an error occurs for the in-
struction that is executed
later.
Exclusive
control is
not re-
quired.
Perform ex-
clusive con-
trol.
Exclusive
control is
not re-
quired.
Perform ex-
clusive con-
trol.
Writ
ing
Perform ex-
clusive con-
trol.
Perform ex-
clusive con-
trol.
File oper-
ations
from the
Sysmac
Studio
Rea
ding
Exclusive
control is
not re-
quired.
Perform ex-
clusive con-
trol.
--- --- Exclusive
control is
not re-
quired.
Writ
ing
Perform exclusive control. --- --- Perform ex-
clusive con-
trol.
FTP
server
Rea
ding
Exclusive
control is
not re-
quired.
Perform ex-
clusive con-
trol.
Exclusive
control is
not re-
quired.
Perform ex-
clusive con-
trol.
--- ---
Writ
ing
Perform exclusive control. --- ---
*1. The instructions include the SD Memory Card operation instructions and the FTP client communications
instructions.
11 FTP Server
11-5
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
11-2 FTP Server Function Details
11
11-2-2 Connecting to the FTP Server