mirror of
https://github.com/lubosz/overte.git
synced 2025-04-06 12:22:24 +02:00
11 lines
307 B
JavaScript
11 lines
307 B
JavaScript
var data = "this is some data";
|
|
var extension = "txt";
|
|
var uploadedFile;
|
|
|
|
Assets.uploadData(data, function (url) {
|
|
print("data uploaded to:" + url);
|
|
uploadedFile = url;
|
|
Assets.downloadData(url, function (data) {
|
|
print("data downloaded from:" + url + " the data is:" + data);
|
|
});
|
|
});
|