Downloading a directory

Top  Previous  Next

You can download an entire directory using the DownloadDir method and a string representing a directory. The directory to download is relative to your current remote directory. The download is written relative to your current local directory.

 

Example

 

[C#}

// download the images directory

myFtp.DownloadDir("images");

 

 

[Visual Basic]

' download the images directory

myFtp.DownloadDir("images")

 

 

See also

 

Setting your local directory

Setting your remote directory