-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DELETE doesn't work. #2133
Comments
Read the instructions for PHP https://groups.google.com/forum/#!topic/jquery-fileupload/HjgQmFfE4Ok |
Thanks for helping....blueimps method works...sorry i didn't try the other method |
Enabling the user_dirs option will not enable DELETE requests, if the server doesn't support it. If you cannot change your server config to allow DELETE requests, POST can be used instead. The quote in the code line I referred to above says the following:
This means you simply have to edit /server/php/UploadHandler.php and replace the line 'delete_type' => 'DELETE', with 'delete_type' => 'POST', A cleaner solution would be to override this UploadHandler class, but this requires more coding. Please note that my reply here is an exception, since this bug tracker is only meant for bug reports, not for any kind of support requests. |
Thanks for your great softwares. But i cannot managed to use it on php implementation of the demo. Maybe there are some talented coders to implement it? |
Hello, Is there a way to add additional data with delete process? such as add csrf protection data to it. |
@ve3 That is literally the only example in the documentation (also here on Github) about extending callbacks. |
When I try to delete I get this json retunr: {"files":[{"name":"1406712510-48","size":0,"type":"","error":"File is too small"}]} There is no filename by that name. Any suggestions ? |
When I disable delete_type (and use the default in the constructor) |
Hi,
This is the website where i added the upload widget..
http://titans.byethost3.com/upload/
Upload is working fine..but not delete...please give me a solution
I'm tired of checking support section without getting any satisfactory result
The text was updated successfully, but these errors were encountered: