Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
Specifying Options for FTP Server Processing
The operation specified with ExecOption is performed to download files from the FTP server.
The data type of ExecOption is structure _sFTP_EXEC_OPTION. The specifications are as follows:
Name
ExecOption
PassiveMode
ASCIIMode
FileRemove
OverWrite
Reserved
*1 The transfer source files are not deleted when the transfer fails.
The meanings of the options are described next.
 PassiveMode (Passive Mode Specification)
The passive mode specification tells whether to use passive mode for the data connection request
to the FTP server. If passive mode is not specified, active mode is used for the data connection
request to the FTP server.
Refer to the NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (Cat. No. W506) or NY-
series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (Cat. No.
W563) for details on connection request methods.
The values and their meanings for PassiveMode are given in the following table.
Set value
TRUE
The data connection request with the FTP server is performed in passive mode.
The data connection request is performed from the FTP client.
FALSE
The data connection request with the FTP server is performed in active mode.
The data connection request is performed from the FTP server.
2-1124
Meaning
Description
FTP execu-
Options for FTP execu-
tion options
tion
Passive mode
TRUE: Passive mode
specification
FALSE: Active mode
ASCII mode
TRUE: ASCII mode
specification
FALSE: Binary mode
File deletion
TRUE: Delete files after
after transfer
transfer.
specifica-
FALSE: Do not delete
*1
files after transfer.
tion
TRUE: Overwrite files at
transfer destination.
Overwrite
FALSE: Do not overwrite
specification
files at transfer destina-
tion.
Reserved
Reserved by the system.
Data type
Valid range
_sFTP_EX-
---
EC_OPTION
BOOL
BOOL
Depends on
BOOL
data type.
BOOL
ARRAY[0..7]
---
Of Byte
Meaning

NY-series Instructions Reference Manual (W560)

Unit
Default
---
---
FALSE
---
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents