Class Upload
Uploads a file from the form data into mediabeacon at the given destination or the standard directory
Defined in: upload.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Upload(dest, unzip)
Uploads a file from the form data into mediabeacon at the given destination or the standard directory
Uploads a file from the form data into mediabeacon at the given destination or the standard directory.
|
Class Detail
Upload(dest, unzip)
Uploads a file from the form data into mediabeacon at the given destination or the standard directory
Uploads a file from the form data into mediabeacon at the given destination or the standard directory. The results are parsed into a text object keyed by AssetID from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/upload?dest=['PathToParent']&unzip=true
http://127.0.0.1:55555/wf/upload?dest=["Assets/Library/"]&unzip=true
- Parameters:
- dest
- where to upload the file to
- unzip
- set to "true" to unzip the uploaded file
- Returns:
- ( {'AssetID': "path",...} )