Returns the remote directory content packed in one string.
Namespace: Jscape.SftpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public string GetDirListingAsString( string filter ) |
Visual Basic |
---|
Public Function GetDirListingAsString ( _ filter As String _ ) As String |
Visual C++ |
---|
public: String^ GetDirListingAsString( String^ filter ) |
Parameters
- filter
- Type: System..::..String
the file widcard filter
Return Value
the directory content string
Exceptions
Exception | Condition |
---|---|
Jscape.Sftp..::..SftpException | if an error occurs |