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

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

Advertisement

ConnectSvr
SvrDirName
RemoveDir
Name
RetryCfg
Cancel
OK
Command
OK
Canceled
Function
The FTPRemoveDir instruction deletes the specified directory RemoveDirName from the directory con-
taining the directory to delete SvrDirName on the connected FTP server ConnectSvr.
When the value of Done in the instruction changes to TRUE, deletion of the specified directory is
already completed. If the instruction fails to delete the directory, the value of Error changes to TRUE.
The data type of ConnectSvr is structure _sFTP_CONNECT_SVR. The specifications are as follows:
Name
ConnectSvr
Adr
PortNo
UserName
Password
*1 A separate DNS or Hosts setting is required to specify a host name.
*2 You can use the following single-byte characters: A to Z, a to z, 0 to 9, - (hyphen), . (period), and _ (underbar).
*3 If you specify 0, TCP port number 21 is used.
*4 You can use the following single-byte characters: A to Z, a to z, 0 to 9, - (hyphen), . (period), and _ (underbar).
You can also use \ and @ for a CPU Unit with unit version 1.16 or later.
*5 The NULL character at the end must be counted in the number of bytes.
*6 For CPU Units with unit version 1.08, specify a text string of one character or more. An error will occur if you
specify a text string that contains only the final NULL character.

NY-series Instructions Reference Manual (W560)

Bit strings
Refer to Function for details on the structure _sFTP_CONNECT_SVR.
Refer to Function for details on the structure _sFTP_RETRY_CFG.
Meaning
Description
Connected
Setting parameters for
FTP server
the connected FTP
settings
server
IP address or host
Address
*1
name
TCP port number of FTP
Port number
server control
connection
User name on FTP
User name
server
Password
FTP server password
2 Instruction Descriptions
Integers
Data type
_sFTP_CONN
---
ECT_SVR
STRING
1 to 200 bytes
UINT
0 to 65535
33 bytes
STRING
max.
33 bytes
STRING
max.
Times, durations,
dates, and text strings
OK
OK
Valid range
Unit
Default
---
---
*2
*3
---
---
*4*5*6
*4*5*6
2-1151
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents