Re: Re: WebShop File Upload
Lee D Papworth
1-3-20
Paul,

I have been looking at that. It uses server sided javascript to call hal.

Snippet of code I lifted from the partner portal.

function FileUpload(wrap,filesinp,tag,id,callback)
{
this.started = false;
this.totfiles = 0;
this.donefiles = 0;

this.DouploadChunk = function(file,start,end,filesize, BYTES_PER_CHUNK,progress,sess,blob,callback){
var self = this;
var xhr = new XMLHttpRequest();
xhr.open('POST', "/WebFileUpload.hal?action=doupload&sess=" + sess + "&part=" + start +"&nocache="+new Date().getTime(), true);
xhr.upload.onprogress = function (e) {

};
xhr.onloadend = function (e) {
};
var blob = file.slice(start,end);



Could really do with some guidance on this. I have mentioned Xhr in this thread already but no one took it further

Lee
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Reino Botha
Please check your version of android if it is the same as the server you are connecting too. ...
08:24 21 Nov 2024
Bror-Erik Kotiranta
In NC you hace operations>>ai chats. They are used for these Br, Bror-Erik...
05:12 21 Nov 2024