Vault Methods |
The Vault type exposes the following members.
Name | Description | |
---|---|---|
![]() | addFileToDownloadList |
Add the specified file URL to the download list.
Is not supported because multiple downloading cannot be performed without extensions
|
![]() | addFileToList |
Add the specified file URL to the fileList.
|
![]() | clearClientData |
Clear all userdata values.
|
![]() | clearDownloadList |
Clears download file list.
Is not supported.
|
![]() | clearFileList |
Clears fileList.
|
![]() | deleteFile |
Delete the file from the local file system specified by the argument,
which is a fully qualified path to the file.
Is not supported because it works with files system directly.
|
![]() | directoryExists |
Gets a value indicating whether the directory exists.
Is not supported because it works directly with files system
|
![]() | downloadFile |
Download file from fileUrl to working directory with specified credentials and post data.
To use this method call [M:SetLocalFileName].
|
![]() | downloadFileAndExecute |
Method that downloads file from web url, save it in users working directory and if
user want opens it with appropriate program. If the same file already exists at the
working directory, file not downloading anew.
Is not supported because it works with files system directly.
|
![]() | downloadFiles |
Download files from downloadFileList to working directory with specified credentials and post data.
To use this method call [M:addFileToDownloadList].
Multiple files downloading is not supported. Use [M:downloadFile] instead.
|
![]() | fileClose |
Closes the readers and the writers and releases any system resources associated with the them.
Is not supported because it works directly with files system
|
![]() | fileCreate |
Creates or overwrites the specified file.
Is not supported because it works directly with files system
|
![]() | fileCreateWithSaveAsDialog |
Creates or overwrites the specified file and show SaveAsDialog.
Is not supported because it works directly with files system
|
![]() | fileExists |
Gets a value indicating whether a file exists.
Is not supported because it works directly with files system
|
![]() | fileOpenAppend |
Opens file with access to append material to a file.
Is not supported because it works directly with files system
|
![]() | fileOpenWrite |
Opens file with access to write material to a file.
Is not supported because it works directly with files system
|
![]() | fileWriteLine |
Writes a string followed by a line terminator to the text stream.
Is not supported because it works directly with files system
|
![]() | getClientData |
Gets userdata (form fields) for uploading.
|
![]() | getFileChecksum |
Gets checksum of the current file.
|
![]() | getFileFieldName |
Gets current field name for file (send() method). Default value is vault_file
Is not supported. Was used to get ID of a file that is sent through sendFile method
|
![]() | getFileSize |
Gets the size of the current file.
|
![]() | getLastError |
Get the error message from the last operation.
|
![]() | getOS |
Returns the string defining the operating system the applet is running on.
Is not supported. Use navigator.userAgent to detect Windows platform.
|
![]() | getParentDir |
Gets parent directory.
Is not supported because it works directly with files system
|
![]() | getResponse |
Returns the Response property, which is set with the server response data from the upload() method call.
|
![]() | getWorkingDir |
Get applet's current working directory (where files are to be downloaded into).
Is not supported because it works with files system directly.
|
![]() | mkDir |
Creates a directory structure on the local file system. Mode: download. Is not supported because it works directly with files system |
![]() | readBase64 |
Reads the string of base64 encoding bytes from the offset position to the offset + count of the stream.
|
![]() | readText |
Reads the stream from the current position to the end of the stream.
|
![]() | selectFile |
Displays a file selection dialog box that allows the user to browse the local file system and select a file.
The WorkingDir property for the applet is also set if the user browses to a directory.
The working directory for the dialog box is initialized to the working directory for the applet.
|
![]() | selectFolder |
Displays a folder selection dialog box that allows the user to browse the local file system and select a folder.
Filename property is set to null
Is not supported because it works directly with files system
|
![]() | selectSavePath |
Displays a SaveFile dialog box, that allows to browse local file system and select a file path for "save" operation.
initialPath parameter used to setup initial directory and filename.
dialogTitle string will be displayed in title bar.
Is not supported because it works directly with files system
|
![]() | sendFile |
Send file from clientData to specified url from working directory.
Is not supported because it works with files system directly.
There is no access to files system without extensions anymore.
|
![]() | sendFiles |
Send files from clientData to specified url.
|
![]() | sendFilesAsync |
Send files from clientData to specified url in asynchronous mode
|
![]() | setClientData |
Set userdata (form fields) for uploading. Mode: upload. |
![]() | setFileFieldName |
Sets field name for file (send() method). Default value is vault_file
Is not supported. Was used to set ID of a file that is sent through sendFile method
|
![]() | setFileName |
Sets the Filename property. This can be used to set the file name as an alternative to the SelectFile() method.
Is not supported because it works directly with files system
|
![]() | setLocalFileName |
Sets local file name.
|
![]() | setWorkingDir |
Sets the local working directory for the applet (where files are to be downloaded into). Initially working directory can be initialized from {@link #pWORKINGDIR pWORKINGDIR} parameter. Mode: download. Is not supported because it works directly with files system |
![]() | urlDecode |
Converts a string that has been encoded for transmission in a URL into a decoded string.
Is not supported. Use native decodeURIComponent
|
![]() | urlEncode |
Encodes a URL string.
Is not supported. Use native encodeURIComponent
|
![]() | writeText |
If file exists, writes a string to the stream. Else creates files and writes text.
Is not supported because it works directly with files system
|