delete (ftp) - Remove file on FTP server

Syntax

delete(f,'filename')

Description

delete(f,'filename') removes the file filename from the current directory of the FTP server f, where f was created using ftp.

Examples

Connect to server testsite.

test=ftp('ftp.testsite.com')

Change the current directory to testdir and view the contents.

cd(test,'testdir');
dir(test)

See Also

ftp

  


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