Uploading files to Parse.com

And just in case anyone is curious, here is the issue I raised on the Parse support site:

https://www.parse.com/questions/is-there-any-way-to-upload-binary-files-other-than-with-a-binary-post-body

Unlike here, the Parse employees jump right on open issues (I got an answer literally within 3 minutes). It appears that there is no workaround for the limitations in network.request that will allow upload of binary files to Parse (which I kind of expected, just wanted to verify).

:frowning:
[import]uid: 111481 topic_id: 31044 reply_id: 125199[/import]

So I guess it is down to Corona fixing the bug then.

Anyone from Corona care to comment if this is likely or not, and a possible timeframe?

The more apps go social, it seems to be a pretty major requirement to be able to upload binary data / interact with cloud services.

[import]uid: 169392 topic_id: 31044 reply_id: 125522[/import]

By using the bracket delimiters around the body I got (what looks like) the correct response back in your sample code:

body = [[foo\128]]

But since I’m not an HTTP guru I have no idea if that’s helpful or not. :slight_smile: Thought I’d throw it out there.

Jay

UPDATE: Looking closer I see the content-length coming back is not correct, so this may be nothing. :slight_smile: [import]uid: 9440 topic_id: 31044 reply_id: 125562[/import]

I have just sent an email to Corona asking them to comment on this thread. Hopefully it will give us all some clarity. [import]uid: 169392 topic_id: 31044 reply_id: 125703[/import]

So I guess it is down to Corona fixing the bug then.

Anyone from Corona care to comment if this is likely or not, and a possible timeframe?

The more apps go social, it seems to be a pretty major requirement to be able to upload binary data / interact with cloud services.

[import]uid: 169392 topic_id: 31044 reply_id: 125522[/import]

By using the bracket delimiters around the body I got (what looks like) the correct response back in your sample code:

body = [[foo\128]]

But since I’m not an HTTP guru I have no idea if that’s helpful or not. :slight_smile: Thought I’d throw it out there.

Jay

UPDATE: Looking closer I see the content-length coming back is not correct, so this may be nothing. :slight_smile: [import]uid: 9440 topic_id: 31044 reply_id: 125562[/import]

I have just sent an email to Corona asking them to comment on this thread. Hopefully it will give us all some clarity. [import]uid: 169392 topic_id: 31044 reply_id: 125703[/import]

Hi Bob,

Did you receive a Bug ID for this issue when you submitted the bug report?

Thanks,

Ali [import]uid: 10499 topic_id: 31044 reply_id: 131453[/import]

The bug is Case 17587: network.request( ) incapable of “binary” POST, unable to upload files to DropBox/Parse/etc. (but I don’t see it anywhere in the online bug list).

I have been working very closely with the Corona Labs folks on this and a number of other networking issues, and I’m fairly confident there will be a good solution available within the next few weeks. [import]uid: 111481 topic_id: 31044 reply_id: 131457[/import]

Bob, that is fantastic news. This has been the biggest roodblock to my app going live. Hopefully it will be out in time to get the app reviewed and released before the iTunes Connect closes down over xmas. Thanks for all your hard work on this [import]uid: 169392 topic_id: 31044 reply_id: 131506[/import]

Hi Bob,

Did you receive a Bug ID for this issue when you submitted the bug report?

Thanks,

Ali [import]uid: 10499 topic_id: 31044 reply_id: 131453[/import]

The bug is Case 17587: network.request( ) incapable of “binary” POST, unable to upload files to DropBox/Parse/etc. (but I don’t see it anywhere in the online bug list).

I have been working very closely with the Corona Labs folks on this and a number of other networking issues, and I’m fairly confident there will be a good solution available within the next few weeks. [import]uid: 111481 topic_id: 31044 reply_id: 131457[/import]

Bob, that is fantastic news. This has been the biggest roodblock to my app going live. Hopefully it will be out in time to get the app reviewed and released before the iTunes Connect closes down over xmas. Thanks for all your hard work on this [import]uid: 169392 topic_id: 31044 reply_id: 131506[/import]

Bob,

Just wondering if the Corona guys have given you an updated ETA on this? My app is ready to submit, but I would love to have this fix in before I launch it?

Thanks
[import]uid: 169392 topic_id: 31044 reply_id: 132706[/import]

Hey guys, this (network) isn’t my department but I will bring it up in our next meeting to try and get you some kind of a response/status report. [import]uid: 52491 topic_id: 31044 reply_id: 132721[/import]

Thanks Peach.

P.S. It’s nice to have someone in the same timezone! [import]uid: 169392 topic_id: 31044 reply_id: 132820[/import]

Bob,

Just wondering if the Corona guys have given you an updated ETA on this? My app is ready to submit, but I would love to have this fix in before I launch it?

Thanks
[import]uid: 169392 topic_id: 31044 reply_id: 132706[/import]

Hey guys, this (network) isn’t my department but I will bring it up in our next meeting to try and get you some kind of a response/status report. [import]uid: 52491 topic_id: 31044 reply_id: 132721[/import]

Hey Anthony, actually right now I’m in the US not Australia, I just keep very strange hours :wink:

Hopefully I’ll be able to get some word on this soon. [import]uid: 52491 topic_id: 31044 reply_id: 132978[/import]

Thanks Peach.

P.S. It’s nice to have someone in the same timezone! [import]uid: 169392 topic_id: 31044 reply_id: 132820[/import]