Skip to content Skip to sidebar Skip to footer

Upload Files To The Cloud From Web Application

I need to upload files from an HTML 5 application (used in desktop/mobile/tablet device)(there's no server side) to an online storage. Any storage would be fine, still, using a fre

Solution 1:

The problem there, after some research, is that JS cannot interact with a domain different from the one it was download from.

That's why you cannot download the FB JS library to your domain but instead load it from their website every time. That's also why I'm not able to do what I've tried to do in the question.

Feel free to add up to my explanation if you've got any more details on this issue:)

Solution 2:

The error in the console says:

Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.

Maybe you could try uploading your application to its future server.

Post a Comment for "Upload Files To The Cloud From Web Application"