Commands and functions
P.
284 of 349
Ftpstate
Ftptimeout
Ftpbuffer
Flushftp
Definition
●
Function
ftpstate
(
handle
)
Arguments
●
Argument
handle of
data type u08
Effect
●
Returns information about the status of the FTP configuration.
Data type result (return)
●
u08
●
Configures / error-free = 0
●
Last transmission error-free = 1
●
Server not available = 2
●
Password/User not allowed = 3
●
Error Directory does not exist and cannot be created = 4
●
Queue overflow, when previously error = 5
●
Don't handle defined = 6
Definition
●
Function
ftptimeout
(
handle
)
Arguments
●
Argument
handle
of data type u08
Effect
●
Returns the elapsed time in seconds back since the last transfer
Data type result (return)
●
u32
Definition
●
Function
ftpbuffer
(
handle
)
Arguments
●
Argument
handle
of data type u08
Effect
●
Gives the fill level of the queue of transfers back.
Datentyp Ergebnis (Rückgabe)
●
u16
Definition
●
Function
flushftp
(
handle
)
Arguments
●
Argument
handle
of data type u08
Effect
●
Write data manually on the FTP server
Data type result (return)
●
Success = 0
●
Server not available = 1
●
Error while uploading the file = 2
●
Password/User not allowed = 3
●
Error Directory does not exist and cannot be created = 4
●
Transmission is just performed (asynchronous update) = 5
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]