Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

mkdir (ftp) - Create new directory on FTP server

Syntax

mkdir(f,'dirname')

Description

mkdir(f,'dirname') creates the directory dirname in the current directory of the FTP server f, where f was created using ftp, and dirname is a path name relative to the current directory on f.

Examples

Connect to hypothetical server testsite and view the contents.

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

Suppose that the contents include the following:

.              ..       otherfile.m          testfolder

Create the folder newfolder in testfolder and close the connection.

mkdir(test,'testfolder/newfolder');
close(test);

See Also

dir (ftp), ftp, rmdir (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