mkdir(ftpobj,folder)
mkdir(
creates
the specified folder on the FTP server associated with ftpobj
,folder
)ftpobj
.
|
FTP object created by |
|
Character vector enclosed in single quotation marks that specifies a path relative to the current folder on the FTP server. |
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);