Admin Production ni-theme
Current Publication

InetFTPClose

LabWindows/CVI

InetFTPClose

int InetFTPClose (int FTPHandle);

Purpose

Logs out and closes down an active FTP connection.

Parameters

Input
Name Type Description
FTPHandle int A handle returned by the InetFTPLogin or InetFTPLoginEx function. The handle identifies an active FTP connection.

Return Value

Name Type Description
result int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: Internet Library

Include file: cvintwrk.h

LabWindows/CVI compatibility: LabWindows/CVI 7.1 and later

Example

Refer to internet\ftpclnt\ftpclnt.cws for an example of using the InetFTPClose function.