ftp_close()

Description:

Exit an FTP client program.

Syntax:

ftp_close(client)

Note:

This external library function closes an FTP connection.

Parameters:

client

An FTP client object

Example:

 

A

 

1

=ftp_client("192.168.75.1":21,"Administrator","admin")

Create an FTP client

2

=ftp_cd(A1,"/folder1")

 

3

=ftp_put(A1,"Test1.docx","G:/Test.docx")

Upload a file to the FTP server

4

>ftp_close(A1)

Exit the FTP client program

Related functions:

ftp_client()