:: Forum >>

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
Wednesday, May 2, 2007
I think it is not possible - normally you cannot access the local filesystem from within the browser.
Alex (ActiveWidgets)
Thursday, May 3, 2007
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.getContent('box/text').setAttribute("type", "file");
obj.setStyle("width", "200px");

I don't have a working example yet but we are fully planning on implementing this.
Friday, May 4, 2007
Odimar Tomazeli
Monday, May 7, 2007

This topic is archived.

Back to support forum

Forum search