
Chapter 18. TCP/IP
461
Run-time errors:
Syntax:
CALL "FTP.FN3" 8 PARA%, ftp.para
where ftp.para is FTP.PARA% or FTP.PARA$
Description: This function gets the current setting for the specified FTP system settings.
Parameters:
PARA% Setting number
Return value:
ftp.para Current setting for FTP system settings of type integer/
string (
FTP.PARA%/FTP.PARA$)
Correspondence tables:
Error code Meaning
35h
File not found.
37h
File already open.
47h
User break with cancel (C) key.
105h
Power-off detected. (BHT-7500S only)
110h
Response other than 2XX received.
111h
File not closed.
216h
The FTP client handle is invalid.
239h
The specified socket is not connected.
295h
There is no user for login request.
Function #8: Get FTP system settings
Setting Number
(
PARA%)
Description
Values for Setting (
FTP.PARA%)
5 Line delimiter 0 (CR-LF), 1 (LF),
2 (CR), 3 (None)
6 Treatment of line delimiters inside
records
0 (separators), 1 (data)
7 Upload mode 0 (overwrite), 1 (append)
8 Progress display 0 (disabled), 1 (enabled)
Setting Number
(PARA%)
Description
Values for Setting (
FTP.PARA$)
1 IP address for FTP server Character string in dotted quad
notation, maximum 15 bytes
2 User name for FTP authentication Character string, maximum 16
bytes
Komentáře k této Příručce