Class Index | File Index

Classes


Class Upload

Uploads a file from the form data into mediabeacon at the given destination or the standard directory
Defined in: upload.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Upload(dest, unzip, file)
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, file)
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
file
the file needs to be added to the body of the POST in the form data with the name "file"
Returns:
( {'AssetID': "path",...} )

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 30 2016 13:29:19 GMT-0500 (CDT)