0

I'm using Appharbor as a free hosting for my application. I have a simple "path image uploader" to a specific folder in my project, and when using Appharbor it will store it normally but the images will get deleted everytime I push the project.

I've search for a solution and I end up everytime getting redirected to a cloud storage such as Amazon S3 which is super cheap.

So I created an account and saw that you can actually upload images and get a hyperlink of the file.

But now I can't really find a way to make my HTML form to POST/upload images to my "bucket" folder in the Amazon S3.

So I'm wondering if there's a way to do this using ASP.NET MVC 4 C#?

Johhan Santana
  • 2,336
  • 5
  • 33
  • 61

1 Answers1

0

You can use browser-based uploads to AWS. Also see this other, similar question.

Community
  • 1
  • 1
  • I see, I've tried that and now I'm stuck at: `POST requires exactly one file upload per request.` when I just have one `type="file"` with `id="file"` – Johhan Santana Jul 28 '14 at 15:54
  • Are you using jQuery? Might be the issue raised [here](https://groups.google.com/forum/#!msg/jquery-fileupload/r0aEXHk22xQ/K2GcRkA4RMIJ). In which case, it's a jQuery problem. –  Jul 28 '14 at 16:15