NET FTP Library
GetAllFiles(String) Method






KellermanSoftware.NetFtpLibrary Namespace > FTP Class : GetAllFiles(String) Method
The ftp directory
Recursively get all the files in the specified FTP 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 FTP
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 ftp directory

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

FTP Class
FTP Members