Uploading a directory

Top  Previous  Next

You can upload an entire directory using the UploadDir method and a string representing a directory on your local system. The directory is written relative to you current remote directory.

 

Example

 

[C#}

// upload the c:\tmp directory

myFtp.UploadDir("c:\\tmp");

 

 

[Visual Basic]

' upload the c:\tmp directory

myFtp.UploadDir("c:\tmp")

 

 

See also

 

Setting your local directory

Setting your remote directory