Setting your local directory

Top  Previous  Next

Your local directory is the relative path from which all files will be uploaded from or downloaded to when communicating with the server and may be set using the LocalDir property. If you do not define the local directory the local directory will default to the directory from which your application was initiated.

 

Example

 

[C#]

// set local directory

myFtp.LocalDir = "c:/tmp";

 

 

[Visual Basic]

' set local directory

myFtp.LocalDir = "c:/tmp"