Description:
Exit an FTP client program.
Syntax:
ftp_close(client)
Note:
This external library function (See External Library Guide) closes an FTP connection.
Parameter:
client |
An FTP client object |
Example:
|
A |
|
1 |
=ftp_open("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 function: