NET SFTP Library
GetAllFiles(String) Method






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class : GetAllFiles(String) Method
The starting path
Recursively get a list of files in the specified directory and all subdirectories
Syntax
'Declaration
 
Public Function GetAllFiles( _
   ByVal ftpDirectory As System.String _
) As System.Collections.Generic.List(Of FTPFileInfo)
'Usage
 
Dim instance As SFTP
Dim ftpDirectory As System.String
Dim value As System.Collections.Generic.List(Of FTPFileInfo)
 
value = instance.GetAllFiles(ftpDirectory)
public System.Collections.Generic.List<FTPFileInfo> GetAllFiles( 
   System.string ftpDirectory
)
public function GetAllFiles( 
    ftpDirectory: System.String
): System.Collections.Generic.List; 
public function GetAllFiles( 
   ftpDirectory : System.String
) : System.Collections.Generic.List;
public: System.Collections.Generic.List<FTPFileInfo*>* GetAllFiles( 
   System.string* ftpDirectory
) 
public:
System.Collections.Generic.List<FTPFileInfo^>^ GetAllFiles( 
   System.String^ ftpDirectory
) 

Parameters

ftpDirectory
The starting path

Return Value

A list of files
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFTP Class
SFTP Members