Hitachi

JP1 Version 12 for UNIX Systems JP1/File Transmission Server/FTP Description, Reference and Operator's Guide


fts_ftp_close() - release connection with JP1/FTP

Organization of this page

Format

#include <apihead.h>
 
int fts_ftp_close(int sock )

Function

This function releases connection with JP1/FTP.

Arguments

sock

Return value of fts_ftp_open_ex()

Note

Return values

TRUE

Normal

FALSE

Abnormal

A value indicating an error is set in fts_errno. The table below lists and describes the return values for error information. In the case of an error other than one listed below, the system function's error number is set. For details, see the displayed error number for the system function.

Return value of extended error information (decimal)

Description

Can be retried?

FTS_API_ERROR_INVALIDSOCK

(805306121)

An invalid argument was specified. This might not be a return value of fts_ftp_open_ex().

No

FTS_API_ERROR_LOGIC

(805306128)

A logical conflict error occurred in API.

No