Archived:File upload in Series 40 Web Apps
This article introduces one possible workaround to enable file uploading in Nokia Asha Web Apps
Nokia Browser 18.104.22.168.11 supports file upload on web pages, but not in a Web App context. If one tries to upload a file from a web app, it fails with “internal server error 500” message. As a workaround a one can set up a web page, which handles uploading, on an external server. In the Web App insert a link to newly created upload page.
<div onclick="mwl.loadURL('http://www.yourserverexample.com/up/upload.html');">Upload file</div>
Once user clicks the link, a new browser window is opened. After user is done with uploading she/he can close the window, by clicking the close button [X] in the right lower corner.
Uploader web page:
For the server side code that handles actual uploading, please search the web and select one that suits to your use. Tizag.com has good guide on getting started with the PHP implementation.