Job Management Partner 1/File Transmission Server/FTP Description, Reference and Operator's Guide
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()
Note
- If fts_ftp_open() has terminated normally, make sure that you call this function after all transmission registration processing is finished.
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(). No FTS_API_ERROR_LOGIC
(805306128)A logical conflict error occurred in API. No
All Rights Reserved. Copyright (C) 2010, Hitachi, Ltd.