04-24-2011 09:21 PM
I'm developing an app that takes an image the user selects from their existing camera pictures and uploads it to another server.
It seems that any file selected from the file chooser (in an <input type='file'>) field, when uploaded, has no data within it. It works successfully from the playbook web browser, but from within the webworks app, it doesn't work. Depending on how the upload is performed (straight html, ajax), I either get a 411 error (length required) or a "file is empty" error.
Has anyone else had this problem / is this a known problem? The form this is uploaded from is pretty deep in my app, but if need be, I can create a sample app that exhibits this problem.
I'm building this with the webworks 2.0 SDK and testing on a 16GB Playbook. Thanks.
04-24-2011 10:41 PM - edited 04-24-2011 10:41 PM
I believe so.
In my config file I have <access subdomains="true" uri="*"/>, and I'm able to successfully get/post everything but files.