Xceed .NET Libraries Documentation
ChangeListingMethod Method


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpClient Class : ChangeListingMethod Method
ListingMethod value that indicates the current listing method that is used to retrieve folder contents from the FTP server.
Changes the current listing method that is used to retrieve folder contents from the FTP server.
Syntax
'Declaration
 
Public Sub ChangeListingMethod( _
   ByVal listingMethod As ListingMethod _
) 
'Usage
 
Dim instance As FtpClient
Dim listingMethod As ListingMethod
 
instance.ChangeListingMethod(listingMethod)
public void ChangeListingMethod( 
   ListingMethod listingMethod
)

Parameters

listingMethod
ListingMethod value that indicates the current listing method that is used to retrieve folder contents from the FTP server.
Exceptions
ExceptionDescription
If an invalid listing method is specified.
If the FTP server's machine listing doesn't support the 'Type' fact.
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

FtpClient Class
FtpClient Members
ListingMethod Enumeration
ListingMethod Property