Specifications
Chapter 18. TCP/IP
501
Syntax:
CALL "FTP.FN3" .fcPWD 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.
.fcPWD Get current directory on FTP server
Error code Meaning
105h
Power-off detected
106h
An internal error has occurred in the TCP/IP module during data
transmission.
107h
The TCP/IP module has not been initiated.
108h
The memory for the TCP/IP module has became insufficient dur-
ing data transmission.
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.