SftpClientListDirectory Method |
Retrieves list of files in remote directory.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic IEnumerable<SftpFile> ListDirectory(
string path,
Action<int> listCallback
)
Parameters
- path String
- The path.
- listCallback ActionInt32
- The list callback.
Return Value
IEnumerableSftpFile
List of directory entries
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also