Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.SFTP
- Methods
- Properties
- Authentication
- Blocking
- BufferSize
- Compression
- Encryption
- EncryptionList
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- State
- Timeout
- TransferMode
- TransferRate
- TransferTime
- Version
- Events
- How to get support?
LocalPath property
Holds name of local path used for transferring files.
Type
String.Syntax
- C#
- VB.NET
String LocalPath {get; set; };
Property LocalPath As String
Remarks
This property specifies filename (or directory name) on local computer which will be used in a call to any of methods that require it. All the methods support setting LocalPath value as argument while calling the method, but you can also specify it here.For example, GetFile method have two optional arguments: LocalPath and RemoteFile. If you don't set LocalPath argument - you should specify it in this property prior to calling the method. If you specify it as the argument, wodSFTP.NET will overwrite LocalPath property with the value you entered as the argument.