11-3
11 FTP Client
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
11-1 Using the FTP Client to Transfer Files
11
11-1-2 Connectable FTP Servers
An NJ/NX-series CPU Unit can connect to the following FTP servers. Refer to the relative manuals for
information on setting and using the FTP servers.
• FTP server in a built-in EtherNet/IP port on NJ/NX-series CPU Unit
• CJ-series EtherNet/IP Unit with unit version 2.0 or later
• CJ-series CJ2 CPU Unit with Built-in EtherNet/IP
• CJ-series CJ1M CPU Unit with Ethernet Functions
• CJ-series Ethernet Unit
• Windows7: Windows Server 2008 R2 (Internet Information Services (IIS) 7.5)
• Windows8: Windows Server 2012 (IIS8.0)
• Linux
You can use the following options for file transfers. All options are specified in the parameters of the
FTP client communications instructions.
• File transfer mode
• Open mode for data connection
• Deleting files after transfer
• Overwriting
The following sections describe each of these options.
File Transfer Mode
There are two file transfer modes, ASCII Mode and Binary Mode, which differ in how line feeds in
the text data are processed. The following table describes the differences.
Open Mode for Data Connection
Opening a TCP connection between the FTP server and FTP client is necessary to transfer files.
TCP connections include control connections to control communications and data connections to
transfer data. There are also an Active Mode and a Passive Mode to open a data connection that
differ in which party makes the connection request. The following table describes the differences.
For example, if the FTP server is not on the Internet and you use Active Mode to open the data con-
nection, the connection request from the FTP server may not be permitted due to security policies.
In that case, you must use Passive Mode to open the data connection when you request a connec-
tion from the FTP client.
11-1-2 Connectable FTP Servers
11-1-3 File Transfer Options
Transfer mode Handling of line feeds in text data
ASCII Mode Line feeds are converted to the line feed code of the destination system, e.g., Unix
or Windows.
Binary Mode Line feeds are transferred without conversion.
Open mode Request to establish a connection
Active Mode The FTP server makes the connection request.
Passive Mode The FTP client makes the connection request.