SSHSCPClientDir(String, Boolean) Method
List a directory's contents as an array of strings.
Namespace: EnterpriseDT.Net.Ftp.SshAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public virtual string[] Dir(
string dirname,
bool full
)
Public Overridable Function Dir (
dirname As String,
full As Boolean
) As String()
public:
virtual array<String^>^ Dir(
String^ dirname,
bool full
)
abstract Dir :
dirname : string *
full : bool -> string[]
override Dir :
dirname : string *
full : bool -> string[]
- dirname String
- Name of directory
- full Boolean
- true if detailed listing required, false otherwise.
StringAn array of directory listing strings.
IFileTransferClientDir(String, Boolean)
If full is true then a detailed
listing if returned (if available), otherwise just filenames are provided.
The detailed listing varies in details depending on OS and
SFTP server. Note that a full listing can be used on a file
name to obtain information about a file