Back to product page

RemoteOpen method


Opens remote file for raw access.

Type

Void

Syntax

  • C#
  • VB.NET
public Void RemoteOpen(String RemoteFile, RemotePermissions Permission);
The RemoteOpen(RemoteFile,Permission) syntax has these parts:
RemoteFileFull path to the file on remote server.
PermissionDefines 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:
RemoteFileFull path to the file on remote server.
PermissionDefines 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.

Platforms

Windows