# Function Reference

# _FTP_Close

Closes the _FTP_Open or _FTP_Connect session

#include <FTPEx.au3>
_FTP_Close ( $hSession )

## Parameters

$hSession | as returned by _FTP_Open() or _FTP_Connect()

## Return Value

Success: | 1
Failure: | 0

## Related

_FTP_Connect, _FTP_Open

## See Also

Search InternetCloseHandle in MSDN Library.

## Example

    #include <FTPEx.au3>

    Local $hOpen = _FTP_Open('MyFTP Control')
    ; ...
    Local $iFtpc = _FTP_Close($hOpen)