Download FCE Reference Manual (all languages)

Transcript
2.4 fceClose Closes connection opened by fceConnect.
SYNTAX
fceClose(Channel)
Channel : (I) Channel number
REMARKS
The fceClose function closes the connection to the FTP server opened with fceConnect. After closing,
another connection on channel 'Chan' may be opened with fceConnect.
If fceConnect fails, do NOT call fceClose.
RETURNS
Return < 0 : An error has occurred. Call fceErrorText.
EXAMPLES
All example programs that call fceConnect will also call fceClose.
C/C++ Example
// close connection.
fceClose(0);
BASIC Example
' close connection.
Code = fceClose(0)
ALSO SEE
fceConnect.
9