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.

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?