Downloads remote directory.

Namespace:  KetLabs.FTP
Assembly:  Ftp (in Ftp.dll) Version: 1.0.0.19105 (1.0.0.*)

Syntax

C#
public void DownloadDirectory(
	string sourceRemoteDir,
	string destinationLocalDir,
	bool recursive
)
Visual Basic (Declaration)
Public Sub DownloadDirectory ( _
	sourceRemoteDir As String, _
	destinationLocalDir As String, _
	recursive As Boolean _
)
Visual C++
public:
void DownloadDirectory(
	String^ sourceRemoteDir, 
	String^ destinationLocalDir, 
	bool recursive
)

Parameters

sourceRemoteDir
Type: System..::.String
Address of the remote folder
destinationLocalDir
Type: System..::.String
Local folder to be downloaded in
recursive
Type: System..::.Boolean
if true all subfolders are downloaded too, if false only the files contained in the remote folder

See Also