Fetch the repository succeeded.
This action will force synchronization from 封尘/fcup, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
fcup是一款支持大文件切片上传插件。该jquery插件使用简单,配置简单明了,支持上传类型指定,进度条查看上传进度。。
直接下载源码,现有node和php两个接口案例,演示地址: http://fcphp.cn/fcup github:https://github.com/lovefc/fcup
$.fcup({
updom: '.fcup',//上传控件的位置dom
//upid: 'upid',//上传的文件表单id,有默认
shardsize : '0.5',//切片大小,(单次上传最大值)单位M,默认2M
upstr: '上传文件',//按钮文字
uploading: '上传中...',//上传中的提示文字
upfinished: '上传完成',//上传完成后的提示文字
upurl: './php/file.php',//文件上传接口 node接口:http://127.0.0.1:8888/upload
//uptype: 'jpg,png,gif,jpeg',//上传类型检测,用,号分割
errtype: '不支持此类型文件',//不支持类型的提示文字
//接口返回结果回调
upcallback : function(result){
console.log(result);
}
});
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。