close (ftp) - Close connection to FTP server

Syntax

close(f)

Description

close(f) closes the connection to the FTP server, represented by object f, which was created using ftp. Be sure to use close after completing work on the server. If you do not run close, the connection will be terminated automatically either because of the server's time-out feature or by exiting MATLAB.

Examples

Connect to the MathWorks FTP server and then disconnect.

tmw=ftp('ftp.mathworks.com');
close(tmw)

See Also

ftp

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS