多个文件上传

发布于 2024-08-06 09:02:55 字数 317 浏览 3 评论 0原文

知道如何或可以提供演示或脚本,允许将多个文件上传到网络服务器,而无需使用闪存或任何需要安装在客户端计算机上的东西。

理想情况下,提供上传情况的状态,即 27% 等。

如果我可以选择多个文件,然后点击上传,然后将它们在队列中逐个上传,那就太好了?

有什么想法吗?任何语言都可以。

嘿 - 我花了很多时间 通过谷歌搜索但从什么 我可以看到没有人做过多次 状态为 out 的文件上传者 使用 闪存/uploadify/fanceyupload/SWFUpload 没有多个输入框。

Does know how to or can provide a demo or script which will allow multiple files to be uploader to a web server WITHOUT using flash or anything which needs to be installed on the client machine.

Ideally providing a status with how the uploads are doing ie 27% etc.

It would be great if I could select multiple files then hit upload and then they are uploaded one by one in a queue?

Any ideas? Any language is fine.

Hey - I've spent a lot of time
searching through google but from what
I can see nobody has done an multiple
file uploader with a status with out
using
flash/uploadify/fanceyupload/SWFUpload
without having several input boxes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

遇见了你 2024-08-13 09:02:55

您无法使用纯 PHP 提供状态。

AJAX 可能是一种解决方案或 Flash。

上传多个文件的工作方式与上传一个文件非常相似。
您可以以数组形式发送文件。

You can't provide the status with pure PHP.

AJAX might be a solution or Flash.

Uploading multiple files works pretty similar as uploading one file.
You can send the files in an array.

反话 2024-08-13 09:02:55

每个人都已经回答了什么是可能的或不可能的,一个很好的多文件上传jquery插件: http:// www.fyneworks.com/jquery/multiple-file-upload

Everybody already answer what's possible or not, a good jquery plugin for multifile upload: http://www.fyneworks.com/jquery/multiple-file-upload

无所谓啦 2024-08-13 09:02:55

简单的方法:添加多个文件输入元素。

不那么简单的方法是:使用 Javascript 框架来实现这一点。有 许多脚本支持此功能。

The simple way: add multiple file input elements.

The not so simple way: use a Javascript framework to achive this. There are many scripts out supporting this functionality.

浅笑轻吟梦一曲 2024-08-13 09:02:55

我认为这是不可能的。我讨厌Flash,但Flash中有两件事是必须做的:带进度条的(多重)上传和音频/视频流。
对于带有进度条的多重上传,我建议使用 http://www.uploadify.com/ - 这非常容易实施 :)

I think this is not possible. I hate Flash, but there are two things that are must-do in Flash: (multi)upload with progress bar, and audio/video streaming.
For multiupload with progress bar I suggest using http://www.uploadify.com/ - it's extremely easy to implement :)

安人多梦 2024-08-13 09:02:55

通过服务器上正确的软件,只需在客户端上使用 JavaScript 即可显示上传进度表。查看 lighttpd 的 mod_uploadprogress

With the right software on the server, it's possible to display an upload progress meter using just JavaScript on the client. Check out mod_uploadprogress for lighttpd.

柠檬 2024-08-13 09:02:55

嘿,我知道这肯定太晚了,但我也面临着同样的上传问题,最令人沮丧的是不支持多个浏览器。我发现这个插件几乎适用于所有浏览器,我希望它对将来的人有所帮助。

http://www.uploadify.com/

Hey I know this must be really late for an answer, but i too was faced with the same upload problem, most depressing was no support for multiple browsers. I found this plugin which worked on almost all the browsers, I hope it does help someone in future.

http://www.uploadify.com/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文