Page tree
Skip to end of metadata
Go to start of metadata

The Remote File API allows a UI-side component to browse and access files on the WinGate server even if the WinGate server is being accessed remotely. 

File Browsing

Using file browser API function such as FileBrowserBrowse and FileBrowserGetFile a UI-side component can present a file browsing dialog that can view files on the WinGate server. You can restrict the access to directories only or files and directories and users can create directories on the server through the dialog.

Remote File Access

Perform read only file access functions on files on the WinGate engine filesystem.

Remote file access blocks until the called function returns therefore you should not call it from within the User Interface thread.

File Searching

You can perform file search function on the WinGate Engine filesystem with called to functions such as RCFindAllFilesEx and RCFindFirstFileEx

Cancelling Calls

The Remote File API allows cancelling of remote operations. When you call a Remote File API function you also specify a pointer to a call token. The call token is set by the function and can be used to cancel that function if it hasn't already completed. Because Remote File API function block, cancelling can only be done from a different thread to the one that initiated the remote operation.

 

  • No labels