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
Name
Meaning
PutFile
Uploaded file
Result[]
results
*5*6*7
array
CommandC
Cancel
anceled
completed
Number of
PutNum
files to upload
*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 The array can have a maximum of 1,000 elements.
*6 This is a one-dimensional array. If an array with more than one dimension is specified, a building error will occur.
*7 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
PutFileResult[]
array
Command
OK
Canceled
PutNum
Function
The FTPPutFile instruction uploads the file specified with FileName in the specified directory LocalDir-
Name in the SD Memory Card to the directory specified with SvrDirName on the connected FTP server
ConnectSvr. If the specified directory SvrDirName does not exist on the FTP server, a new directory is
created and the specified file is uploaded.
You can use wildcards in FileName. This allows you to upload more than one file at one time.
The results of uploading is stored in PutFileResult[] for each file. Store the number of files to upload in
PutNum. If you use a wildcard in FileName, store the number of files with names that match the wild-
card.
If the actual number of transferred files is different, the value of PutFileResult[].TxError changes to
TRUE.
2-1130
I/O
Description
In-out
Uploaded file results
TRUE: Canceling completed.
FALSE: Canceling not
completed.
Output
Number of files to upload
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
Valid range
---
Depends on
data type.
---
Integers

NY-series Instructions Reference Manual (W560)

Unit
Default
---
*1
---
---
Times, durations,
dates, and text strings
OK
OK
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents