Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

rmdir (ftp) - Remove directory on FTP server

Syntax

rmdir(f,'dirname')

Description

rmdir(f,'dirname') removes the directory dirname from the current directory of the FTP server f, where f was created using ftp.

Examples

Connect to server testsite, view the contents of testdir, and remove the directory newdir from the directory testdir.

test=ftp('ftp.testsite.com');
cd(test,'testdir');
dir(test)
.              ..       newdir
dir(test,'newdir')
.              ..
rmdir(test,'newdir');
dir(test,'testdir')
.              ..

See Also

cd (ftp), delete (ftp), dir (ftp), ftp, mkdir (ftp)

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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