Setting your local directory |
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 Sftp.LocalDir property. If you do not define the local directory the local directory will default to the directory from which program was instantiated.
Example
[C#]
// set local directory
sftp.LocalDir = new DirectoryInfo("c:\\tmp");
[VB]
' set local directory
sftp.LocalDir = New DirectoryInfo("c:\tmp")