Upload Files Help!!!!
Hi guys
Is it possible to upload a file (post method) using aw.http.request?????
Anyone has one example?
Thanks in advance!
Odimar Tomazeli
May 2,
I think it is not possible - normally you cannot access the local filesystem from within the browser.
Alex (ActiveWidgets)
May 3,
With the following you can get the filename, thus should you not be able to create the proper form types for the submit so that it sucks the file up also? Much like you would in a cgi script.
var obj = new AW.UI.Input;
obj.setId('obj');
obj.getContent('box/text').setAttribute("type", "file");
obj.setStyle("width", "200px");
document.write(obj);
I don't have a working example yet but we are fully planning on implementing this.
Mike
May 4,