|
|||||
function | FTPConnectionClose |
Related Concepts | Other Library Functions |
Library: FTP
Include: omftp.xin |
define external function FTPConnectionClose value FTPConnection this-FTPConnection
This function closes the connection to the FTP server. If a source or an output object is active when this function is closed, the source/output function is closed as well. For the source, it does not mean that OmniMark will not match any more data, since it may already have some data buffered. It does mean that no more data will be read from the server. For the output object, the connection will be closed, but if it is attached to a stream, the stream will still be open. Sending data to an open stream with a closed output attachment will put the FTP connection in error.
Argument:
Example:
; close the FTP connection FTPConnectionClose MyCon
---- |