'Declaration Public Overloads Function GetRawFolderContents() As StringList
'Usage Dim instance As FtpClient Dim value As StringList value = instance.GetRawFolderContents()
public StringList GetRawFolderContents()
'Declaration Public Overloads Function GetRawFolderContents() As StringList
'Usage Dim instance As FtpClient Dim value As StringList value = instance.GetRawFolderContents()
public StringList GetRawFolderContents()
Exception | Description |
---|---|
FtpInvalidStateException | Cannot perform the requested operation because the FTP client is in an invalid state. |
FtpReplyException | An error reply was returned by the FTP server. |
FtpIOException | An I/O error has occurred. |
FtpInternalException | A fatal FTP-specific error has occurred. |
If you want to retrieve the contents of another folder, you could use the ChangeCurrentFolder and/or ChangeToParentFolder methods to change the current working folder.
The current working folder can be retrieved via the GetCurrentFolder method.
The GetRawFolderContents method will send the LIST and PASV or PORT and TYPE commands to the FTP server.
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
FtpClient Class
FtpClient Members
Overload List
Xceed.Ftp.FtpClient.GetFolderContents(Xceed.Ftp.Engine.FtpCommandChannel,Xceed.Ftp.Engine.ListFtpCommand)