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?
RemoteOpen method
Opens remote file for raw access.
Type
VoidSyntax
- C#
- VB.NET
public Void RemoteOpen(String RemoteFile, RemotePermissions Permission);
The RemoteOpen(RemoteFile,Permission) syntax has these parts:
The RemoteOpen(RemoteFile,Permission) syntax has these parts:
RemoteFile | Full path to the file on remote server. |
Permission | Defines combination of flags to open remote file.. |
public Sub RemoteOpen(ByVal RemoteFile As String, ByVal Permission As RemotePermissions)
The RemoteOpen(RemoteFile,Permission) syntax has these parts:
The RemoteOpen(RemoteFile,Permission) syntax has these parts:
RemoteFile | Full path to the file on remote server. |
Permission | Defines combination of flags to open remote file.. |
Remarks
The RemoteOpen method will open remote file so you can access it as raw data - to manually read or write to parts of that file. You will use RemoteRead and RemoteWrite for accessing the file.When opening file, you should specify Permissions for opening the file. While remote file is opened, you should not call other methods than RemoteRead, RemoteWrite, RemoteClose since they may interfere with raw data access. Only one file can be opened at a time using RemoteOpen method.