Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

rmdir

Class: FTP

Remove folder on FTP server

Syntax

rmdir(ftpobj,folder)

Description

rmdir(ftpobj,folder) removes the specified folder from the current folder on an FTP server.

Input Arguments

ftpobj

FTP object created by ftp.

folder

Character vector enclosed in single quotation marks that specifies the name of the folder to delete.

Examples

Remove the folder temp from the hypothetical FTP server ftp.testsite.com:

ts = ftp('ftp.testsite.com');
rmdir(ts,'temp');

See Also

| | | |

Introduced before R2006a

Was this topic helpful?