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

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

Advertisement

Using Wildcards to Specify File Names
You can use wildcards to specify the names of the files to download in FileName.
As wildcards, you can specify "*" and "?". "*" represents one or more characters. "?" represents only
one character.
Examples of using wildcard specifications are given below.
Assume that the FTP server directory has the following file structure.
DataFiles (specified directory)
LogA01.log
LogA02.txt
LogB.log
LogC.txt
ControlDataA1.csv
ControlDataA10.csv
ControlDataA100.csv
ControlDataB10.csv
ControlDataC100.csv
ControlSubDataFiles (subdirectory)
SubData_A001.txt
SubData_A002.txt
As shown in the following table, the way that the wildcards are used determines the files that are speci-
fied.
Wildcard specification
Log*.log
Log?.log
Log?.*
*Data*
*
*.*
?.?
????.???
*1 Subdirectory files will also be included for some FTP server specifications.
If you specify wildcards, you can download up to 1,000 files.
If GetFileResult[].TxError or GetFileResult[].RemoveError is TRUE as the result of downloading files,
Error changes to TRUE, the corresponding error code for the first error is stored in ErrorID and the error
response from the FTP server is stored in ErrorIDEx.

NY-series Instructions Reference Manual (W560)

LogA01.log, LogB.log
LogB.log
LogB.log, LogC.txt
ControlDataA1.csv, ControlDataA10.csv, ControlDataA100.csv, Control-
DataB10.csv, ControlDataC100.csv, (ControlSubDataFiles)
All files except for those in the subdirectory
All files except for those in the subdirectory
No files
LogB.log, LogC.txt
2 Instruction Descriptions
Specified files
*1
2-1123
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents