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

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

Advertisement

Name
Meaning
GetFile
Downloaded
Result[]
file results
*6*7*8
array
Command-
Cancel com-
Canceled
pleted
Number of
GetNum
files to down-
load
*1 If you omit an input parameter, the default value is not applied. A building error will occur.
*2 You cannot use the following characters in FTP server directory names: * ? < > | "
*3 The default is the home directory when you log onto the FTP server.
*4 You can use wildcards in file names.
*5 You cannot use the following character in file names: |
*6 The array can have a maximum of 1,000 elements.
*7 This is a one-dimensional array. If an array with more than one dimension is specified, a building error will occur.
*8 The first array element number is 0. If a number other than 0 is specified for the first array element, a building error will
occur.
ConnectSvr
SvrDirName
LocalDirName
FileName
ExecOption
RetryCfg
Cancel
OK
GetFileResult[]
array
Command
OK
Canceled
GetNum
Function
The FTPGetFile instruction downloads the file specified with FileName from the specified directory
SvrDirName on the connected FTP server ConnectSvr to the directory specified with LocalDirName in
the SD Memory Card. If the specified directory LocalDirName does not exist in the SD Memory Card, a
new directory is created and the specified file is downloaded.
You can use wildcards in FileName. This allows you to download more than one file at one time.
The results of downloading is stored in GetFileResult[] for each file. Store the number of files to down-
load in GetNum. If you use a wildcard in FileName, store the number of files with names that match the
wildcard.

NY-series Instructions Reference Manual (W560)

I/O
Description
In-out
Downloaded file results
TRUE: Canceling completed.
FALSE: Canceling not com-
pleted.
Output
Number of files to download
Bit strings
Refer to Function for details on the structure _sFTP_CONNECT_SVR.
Refer to Function for details on the structure _sFTP_EXEC_OPTION.
Refer to Function for details on the structure _sFTP_RETRY_CFG.
Refer to Function for details on the structure _sFTP_FILE_RESULT.
OK
2 Instruction Descriptions
Valid range
---
Depends on
data type.
---
Integers
Unit
Default
---
*1
---
---
Times, durations,
dates, and text strings
OK
OK
OK
2-1121
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents