Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

mkdir

Class: FTP

Create folder on FTP server

Syntax

mkdir(ftpobj,folder)

Description

mkdir(ftpobj,folder) creates the specified folder on the FTP server associated with ftpobj.

Input Arguments

ftpobj

FTP object created by ftp.

folder

Character vector enclosed in single quotation marks that specifies a path relative to the current folder on the FTP server.

Examples

Suppose that a hypothetical host, ftp.testsite.com, contains a folder named testfolder. Connect to the server and add a subfolder:

ts = ftp('ftp.testsite.com');
mkdir(ts,'testfolder/newfolder');
close(ts);

See Also

| |

Introduced before R2006a

Was this topic helpful?