NET FTP Library
GetDirectoryListing(Int64,Int64,Boolean) Method






KellermanSoftware.NetFtpLibrary Namespace > FTP Class > GetDirectoryListing Method : GetDirectoryListing(Int64,Int64,Boolean) Method
Minimum file size in bytes
Maximum file size in bytes
If true, directory names are returned
Get a listing of the files in the current FTP directory between a range of bytes
Syntax
'Declaration
 
Public Overloads Function GetDirectoryListing( _
   ByVal minSizeInBytes As System.Long, _
   ByVal maxSizeInBytes As System.Long, _
   ByVal showDirectories As System.Boolean _
) As System.Collections.Generic.List(Of FTPFileInfo)
'Usage
 
Dim instance As FTP
Dim minSizeInBytes As System.Long
Dim maxSizeInBytes As System.Long
Dim showDirectories As System.Boolean
Dim value As System.Collections.Generic.List(Of FTPFileInfo)
 
value = instance.GetDirectoryListing(minSizeInBytes, maxSizeInBytes, showDirectories)
public System.Collections.Generic.List<FTPFileInfo> GetDirectoryListing( 
   System.long minSizeInBytes,
   System.long maxSizeInBytes,
   System.bool showDirectories
)
public function GetDirectoryListing( 
    minSizeInBytes: System.Int64;
    maxSizeInBytes: System.Int64;
    showDirectories: System.Boolean
): System.Collections.Generic.List; 
public function GetDirectoryListing( 
   minSizeInBytes : System.long,
   maxSizeInBytes : System.long,
   showDirectories : System.boolean
) : System.Collections.Generic.List;
public: System.Collections.Generic.List<FTPFileInfo*>* GetDirectoryListing( 
   System.long minSizeInBytes,
   System.long maxSizeInBytes,
   System.bool showDirectories
) 
public:
System.Collections.Generic.List<FTPFileInfo^>^ GetDirectoryListing( 
   System.int64 minSizeInBytes,
   System.int64 maxSizeInBytes,
   System.bool showDirectories
) 

Parameters

minSizeInBytes
Minimum file size in bytes
maxSizeInBytes
Maximum file size in bytes
showDirectories
If true, directory names are returned

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
Overload List