Roundcube Community Forum

 

Upload multiple files at once

Started by jingo, December 03, 2009, 06:44:40 AM

Previous topic - Next topic

jingo

My users request a posibility to upload more than one file at once for attachments.

Right now they must select one file, push upload, wait, select next file etc.etc.

They want to select multiple files, push attach/upload, wait, send message.


How can this be made posible?

Julius Caesar

PHP does not allow the selection of multiple files. A work-around is to archive the files into a .zip or .rar file and select that file.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

jingo

PHP can't do it ??? Sure ?

I was thinking about solutions like:
PHP Multiple files upload

or
Upload multiple files with a single file element | Stickblog

or this great aproach:
FancyUpload Photo Queue Showcase
descripted here:
Upload Multiple Images at Once using PHP

What do you think?
could this be posible in RC?

Could it be done in a plugin, or does it need core ajustments?

Julius Caesar

Quote from: jingo;23640PHP can't do it ??? Sure ?

I'm sure. PHP can't select multiple files in one selection box.

Quote from: jingo;23640I was thinking about solutions like:
PHP Multiple files upload

or
Upload multiple files with a single file element | Stickblog

or this great aproach:
FancyUpload Photo Queue Showcase
descripted here:
Upload Multiple Images at Once using PHP

What do you think? Could this be posible in RC?

You want to select the files prior to uploading. You've showed already some examples (which I already had found too) so I don't think that this can be a problem. However I'm not a coder.

Quote from: jingo;23640Could it be done in a plugin, or does it need core adjustments?

Like I said I'm not a coder, so I can't tell you this.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

jingo

Ok. Thank you.

Anyway the examples show that PHP CAN handle more than one file.

It is not PHP that shows the dialog box, its the javascript or flashscript.

I think the multiselect dialog is really nice.

But selecting one file at a time is okay, as long as the user must only push "Upload" once.

SKaero

I think that it could be done with a plugin however I would want to get this fix before upload more then one attachment http://trac.roundcube.net/ticket/1484660

jingo

Wow, I wasn't aware of that issue!

I am just moving my users to Roundcube from Squirrelmail. That issue might bring trouble.

Anyway the request is valid, and will improve the user experience.

SKaero

Its can be very limiting if your on shared hosting but its not as bad on a vps or dedicated server. Try a file and see how well it sends then you will know if it will be a big problem.

osos

Se this bug on the topic. #1486039 (Upload progress bar in compose window) ? Roundcube Webmail

http://swfupload.org/ might provide for the upload functionality in the future of roundcube.