dir
List folder contents on SFTP or FTP server
Description
dir(
lists the contents of the
current folder on the SFTP or FTP server associated with s
)s
.
The contents of the current folder can be files and other folders.
Examples
Input Arguments
Output Arguments
Tips
The
dir
function might return a structure array in which the last four fields are empty or missing. Whendir
returns a structure with missing information, it might mean the SFTP or FTP object is not configured for the operating system that is running on the SFTP or FTP server. By default, an SFTP or FTP object is configured to connect to a server running a UNIX® operating system.
Version History
Introduced before R2006a