
Chapter 17. TCP/IP
441
Function #11 .fcPORT
Set port number for file transfer
Syntax: CALL "FTP.FN3" .fcPORT FTPHANDLE%, PORT%
Description:
This function sets a port number specified by PORT% for file transfer.
Parameters: FTPHANDLE% FTP client handle
PORT% Port number
When specifying the value greater than 32767, describe in hexadecimal
notation.
Example: PORT% = &h8000 ' Specify Port 32768
Return value: (None)
Run-time errors:
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
during data transmission.
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