[support] Multiple file download

Anoop John anoop.john at zyxware.com
Tue Nov 26 00:20:42 UTC 2013


A single HTTP request can send back only one file. So I don't think a
Drupal solution is possible.

Thanks
*Anoop John*
Chief Technology Officer

[image: Zyxware Technologies] <http://www.zyxware.com>
Be the change you wish to see in the world - *M. K. Gandhi*

aj_zyxware

|

www.zyxware.com

|

www.facebook.com/zyxware


On Tue, Nov 26, 2013 at 5:44 AM, Chris Miller <cjm at tryx.org> wrote:

> *From: *"Anoop John" <anoop.john at zyxware.com>
> *To: *support at drupal.org
> *Sent: *Monday, November 25, 2013 3:55:21 PM
>
> *Subject: *Re: [support] Multiple file download
>
> Check this out
>
>
> http://stackoverflow.com/questions/2339440/download-multiple-files-with-a-single-action
>
> This is very clever and, interestingly, not beyond my ability.  Even so, I
> don't think JavaScript in the browser is really the place to implement this
> function, if only because it requires the "cleverness" of creating the
> iframes and so on.  Finally, believe it or not, there are still some people
> that disable JavaScript, and I don't see any degraded fall-back position
> for this design.
>
> So, I still seek a native Drupal solution.  If there is an existing way to
> accomplish this, then I should use that, and if not then I must consider a
> module.
>
> I have a partial solution: I can represent the downloadable content in a
> view as a set of fields displayed as a check-box with a label, so if I can
> add a "Submit", then I think I can write a hook_menu function to receive
> and process the download request.  I think I should be able to see the
> values of the set of check-boxes, and I *hope* the path to the file is a
> persistent property that I can also see.
>
> I don't know how to add a "submit" button to a view.
>
> Chris.
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20131126/78ef0b8b/attachment.html 


More information about the support mailing list