Hitachi

JP1 Version 12 for Windows 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 <winsock2.h>
#include <apihead.h>
 
BOOL  fts_ftp_close( SOCKET sock )

Function

This function releases connection with JP1/FTP.

Arguments

sock

Return value of fts_ftp_open_ex()

Notes

Return values

TRUE

Normal

FALSE

Abnormal

To obtain extended error information, call the WSAGetLastError function. The table below lists and describes the return values for the extended error information. For details about other errors, see the MSDN documentation.

Return value of extended error information

(hexadecimal, decimal)

Description

Can be retried?

FTS_API_ERROR_INVALIDSOCK

(0x2FFFFF0A, 805306122)

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

No

FTS_API_ERROR_LOGIC

(0x2FFFFF10, 805306128)

A logical conflict error occurred in API.

No