简体   繁体   English

Blueimp jQuery文件上传。 上传不同于图片的文件

[英]Blueimp jquery file-upload. Uploading files different than images

Good morning. 早上好。 I'm trying to use the plugin to upload some files on my server. 我正在尝试使用该插件在服务器上上传一些文件。 I set the accepted file types to odt|doc|pdf but when I try to upload a "good" file, upload fails. 我将可接受的文件类型设置为odt | doc | pdf,但是当我尝试上传“好”文件时,上传失败。

I'm sure that "server/php/files" directory has 777 permision (to test it... off course). 我确定“ server / php / files”目录的权限为777(要进行测试……当然)。

I believe there's something wrong inside the UploadHandler.php file, because it seems created to manage only image files. 我相信UploadHandler.php文件内部存在问题,因为它似乎是仅用于管理图像文件的。

Any hint? 有什么提示吗? Thanks 谢谢

I've found the bug. 我发现了这个错误。 The "server/php" directory was not correctly addressed. “ server / php”目录未正确解决。 Now I have a new problem... but this is not the correct place to talk about it. 现在我有一个新问题...但这不是谈论它的正确位置。 In case I'll open a new post. 万一我打开一个新职位。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM