Ftpgetfile - Omron NY532-5400 Reference Manual

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

Advertisement

2 Instruction Descriptions

FTPGetFile

The FTPGetFile instruction downloads a file from the FTP server.
Instruction
Name
Get File from
FTPGetFile
FTP Server
Variables
Name
Meaning
Connected
Connect
FTP server
Svr
settings
FTP server
SvrDir
directory
Name
name
LocalDir
Local directory
Name
name
FileName
File name
Exec
FTP execu-
Option
tion options
Execution
RetryCfg
retry settings
Cancel
Cancel
2-1120
FB/FUN
Graphic expression
FTPGetFile_instance
Execute
ConnectSvr
SvrDirName
FB
LocalDirName
FileName
ExecOption
RetryCfg
Cancel
GetFileResult
I/O
Description
Setting parameters for the con-
nected FTP server
Name of FTP server directory
from which to download a file
Name of the directory in which to
store the file downloaded from
the FTP server
Input
Name of file to download
Options for FTP execution
Instruction execution retry set-
tings
TRUE: Instruction execution is
canceled.
FALSE: Instruction execution is
not canceled.
FTPGetFile_instance(
FTPGetFile
Done
Busy
CommandCanceled
Error
ErrorID
ErrorIDEx
GetNum
Valid range
---
256 bytes max.
(255 single-byte
alphanumeric
characters plus
the final NULL
*2
character)
256 bytes max.
(255 single-byte
alphanumeric
characters plus
the final NULL
character)
256 bytes max.
(255 single-byte
alphanumeric
*4
characters plus
the final NULL
*5
character)
---
Depends on
data type.
NY-series Instructions Reference Manual (W560)
ST expression
Execute,
ConnectSvr,
SvrDirName,
LocalDirName,
FileName,
ExecOption,
RetryCfg,
Cancel,
GetFileResult,
Done,
Busy,
CommandCanceled,
Error,
ErrorID,
ErrorIDEx,
GetNum) ;
Unit
Default
*1
*3
''
'/'
---
*1
---
FALSE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents