Author Topic: Upload multiple files at once  (Read 8924 times)

Offline jingo

  • Jr. Member
  • **
  • Posts: 15
Upload multiple files at once
« on: December 03, 2009, 06:44:40 AM »
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?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Upload multiple files at once
« Reply #1 on: December 04, 2009, 04:12:18 AM »
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

Offline jingo

  • Jr. Member
  • **
  • Posts: 15
Upload multiple files at once
« Reply #2 on: December 04, 2009, 04:28:00 AM »
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?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Upload multiple files at once
« Reply #3 on: December 04, 2009, 05:05:43 AM »
Quote from: jingo;23640
PHP can't do it ??? Sure ?


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

Quote from: jingo;23640
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?


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;23640
Could 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

Offline jingo

  • Jr. Member
  • **
  • Posts: 15
Upload multiple files at once
« Reply #4 on: December 04, 2009, 05:12:54 AM »
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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Upload multiple files at once
« Reply #5 on: December 04, 2009, 06:47:24 AM »
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

Offline jingo

  • Jr. Member
  • **
  • Posts: 15
Upload multiple files at once
« Reply #6 on: December 04, 2009, 07:02:31 AM »
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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Upload multiple files at once
« Reply #7 on: December 04, 2009, 07:14:04 AM »
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.

Offline osos

  • Jr. Member
  • **
  • Posts: 11
Upload multiple files at once
« Reply #8 on: April 24, 2010, 10:31:13 AM »
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.