Xceed .NET Libraries Documentation
EndGetCurrentFolder Method


Xceed.Ftp Assembly > Xceed.Ftp Namespace > AsyncFtpClient Class : EndGetCurrentFolder Method
An System.IAsyncResult representing the status of the asynchronous operation.
Ends the process of retrieving the current working folder of the FTP server.
Syntax
'Declaration
 
Public Function EndGetCurrentFolder( _

   ByVal asyncResult As IAsyncResult _

) As String
'Usage
 
Dim instance As AsyncFtpClient

Dim asyncResult As IAsyncResult

Dim value As String

 

value = instance.EndGetCurrentFolder(asyncResult)
public string EndGetCurrentFolder( 

   IAsyncResult asyncResult

)

Parameters

asyncResult
An System.IAsyncResult representing the status of the asynchronous operation.

Return Value

A string representing the FTP server's current folder. The path returned is an absolute path that can be used with the BeginChangeCurrentFolder%M:Xceed.Ftp.AsyncFtpClient.EndChangeCurrentFolder(System.IAsyncResult)% methods to go directly to this folder regardless of the current working folder.
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

AsyncFtpClient Class
AsyncFtpClient Members