Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.FtpDLX
- Properties
- Authentication
- Blocking
- BufferSize
- Certificate
- Compression
- DirFormat
- DirItems
- Encryption
- Hostname
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalPath
- Login
- MaxTransferRate
- Passive
- Password
- Port
- PreserveDates
- PrivateKey
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- PublicKeyOpenSSH
- PublicKeySSH
- RemotePath
- Resume
- SecureMethod
- SmartGet
- SmartPut
- State
- StrictHost
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Methods
- Events
- Properties
- WeOnlyDo.Client.DirItemsCollection
- WeOnlyDo.Client.DirItem
- How to get support?
RemotePath property
Holds name of path on the server used for transferring files.
Type
StringSyntax
- C#
- VB.NET
String RemotePath {get; set; };
Property RemotePath As String
Remarks
This property specifies full path to a filename (or directory name) on remote server which will be used in a call to any of methods that require it. All the methods support setting RemotePath value as argument while calling the method, but you can also specify it here.For example, PutFile method have two optional arguments: LocalFile and RemotePath. If you don't set RemotePath argument - you should specify it in this property prior to calling the method. If you specify it as the argument, wodFtpDLX.NET will overwrite RemotePath property with the value you entered as the argument.
Upon successful Connect, wodFtpDLX.NET will try to retrieve user's home path, and will initially store it to RemotePath property. So, accessing files/subfolders usually means you just have to append filenames/foldernames to this property.
Remember: RemotePath must contain absolute path at all times. You must use something like /home/joe/file.txt instead of relative joe/file.txt