
456
Syntax:
CALL "FTP.FN3" 3 FTPHANDLE%, REPLY%
Description: This function closes the specified FTP client session.
Parameters:
FTPHANDLE% FTP client handle
Return value: REPLY% Server response to FTP command
Run-time errors:
Syntax:
CALL "FTP.FN3" 4 FTPHANDLE%, CURDIR$, REPLY%
Description: This function gets the current directory on the FTP server.
Parameters:
FTPHANDLE% FTP client handle
Return value:
CURDIR$ FTP server current directory
REPLY% Server response to FTP command
Run-time errors:
Note: The directory specification (
CURDIR$) is limited to 255 bytes, so
do not use longer directory names on the server.
Function #3: Close FTP client session
Error code Meaning
105h
Power-off detected. (BHT-7500S only)
110h
Response other than 2XX received.
216h
The FTP client handle is invalid.
239h
The specified socket is not connected.
Function #4: Get current directory on FTP server
Error code Meaning
105h
Power-off detected. (BHT-7500S only)
110h
Response other than 2XX received.
216h
The FTP client handle is invalid.
239h
The specified socket is not connected.
295h
There is no user for login request.
Comentarios a estos manuales