|
VivoQuant 6.4.0
|
Access the WebDisk functionallies of an iPACS.
See also VQ.webDisk() to obtain this object.
Public Member Functions | |
| Object | lsDir (string path) |
| Lists the items of a webdisk directory. | |
| bool | put (string src, string dst) |
| Uploads a file to a webdisk. | |
| bool | mkdir (string path) |
| Creates a new directory on a webdisk. | |
| bool | rm (string path, bool recursive=false) |
| Removes a new directory from a webdisk. | |
| bool | get (string src, string dst) |
| Downloads a file from the webdisk. | |
| string | getPublicLink (string file) |
| Gets a public link for a given file. | |
| void | setExtraTimeout (int t) |
| Sets and extra timeout for upload and download. | |
| string | execReport (string path) |
| Executes a report on the webdisk. | |
| void | openInBrowser (string path) |
| Opens a link in the default web browser. | |
| string execReport | ( | string | path | ) |
Executes a report on the webdisk.
| path | The report template path |
| bool get | ( | string | src, |
| string | dst ) |
Downloads a file from the webdisk.
| src | The source file (on the webdisk) |
| dst | The destination file (local) |
| string getPublicLink | ( | string | file | ) |
Gets a public link for a given file.
| file | The file to obtain the link from |
| Object lsDir | ( | string | path | ) |
Lists the items of a webdisk directory.
| path | The directory path |
| bool mkdir | ( | string | path | ) |
Creates a new directory on a webdisk.
| path | The source file |
| void openInBrowser | ( | string | path | ) |
Opens a link in the default web browser.
| path | The file to be opened in the browser |
| bool put | ( | string | src, |
| string | dst ) |
Uploads a file to a webdisk.
| src | The source file (local) |
| dst | The destination file (on the webdisk) |
| bool rm | ( | string | path, |
| bool | recursive = false ) |
Removes a new directory from a webdisk.
| path | The source file |
| recursive | (optional) Enabled recursive removal |
|
inline |
Sets and extra timeout for upload and download.
| t | The extra timeout value in seconds |