views:

148

answers:

2

I am using Steve Sanderson's jQuery AJAX SWFUploader. I have got it all working for the most part, except the most important part.

When I choose a file, it starts to upload (the progress bar advances) but then it give me a 405 error. Not sure why I get this error but I am using MVC here just like his example. I'm wondering if testing it locally I dont allow for PUT ?

Here is his example...

http://blog.codeville.net/category/jquery/

Anyone have any ideas on how to resolve a 405?

A: 

Are you uploading to a directory with improper chmod permissions? I'd start by testing (assuming a dev environment) with chmod 777 on the directory the app is supposed to upload to.

Akoi Meexx
Thanks for the advice I checked that and everything was ok.
gmcalab
+1  A: 

Alright my problem was the following for anyone interested... since I am using MVC and testing on an XP box (lame) I have to use the .mvc hack. I forgot to include that in my upload_url value therefore it wasn't locating the action properly. I hope this helps someone.

gmcalab