brianraymes commented on issue #708: File Upload not working in Royale URL: https://github.com/apache/royale-asjs/issues/708#issuecomment-595899570 @yishayw I'm currently testing File Upload capabilities as well, and while I can browse, and supposedly send content to my java server, I see the following error when using Apache Commons FileUpload: > The request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is null In Royale, I've tried augmenting the mxroyale FileReference example by adding the following: ``` var header:URLRequestHeader = new URLRequestHeader("Content-type", "multipart/form-data"); uploadURL.method = "POST"; uploadURL.requestHeaders.push(header); ``` This seems to have no affect what-so-ever. The content, while arriving to my java server, still contains no Content-Type. Also, in Royale, how do we access the file data from a FileReference? It always seems to be null. I have other cases where I send byte arrays over RemoteObject calls, but can't seem to access the byte data after browsing for a file.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services