Results 1 to 4 of 4

Thread: Apache + Downloads

  1. #1
    Join Date
    Mar 2014
    Beans
    2

    Apache + Downloads

    ok, sorry if this has been answered before but i have searched google and this forum now for weeks and still can't find my answer.

    I am running Ubuntu 12.04-Server and have one site located on this server using PHP. this site sells digital downloads in the form of a .zip file. my problem is that a customer can only download one zip file at a time instead of 3 or more.
    please if anyone can help I would be very grateful!!

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    11,372
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Apache + Downloads

    That's likely the way the PHP application is designed, not an Apache problem.

    Does the application use a shopping cart? Have you looked at the application's PHP code? If you can tell where the downloads are triggered, perhaps there is a way to have the application iterate over the entries in the cart and send each file separately.

    The other alternative would be to bundle the files into a single ZIP file and send that. That would be pretty easy to program in PHP.

    If you don't have control over the application's code, I don't think there is much you can do to change this behavior.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Mar 2014
    Beans
    2

    Re: Apache + Downloads

    yes we have a shopping cart and each of the 200 products are in zip files already for individual sale and download. I have talked with our PHP guy and he says its not the PHP but who knows for sure. I'll look deeper into the PHP but any other advice would be great.

    Thank you

  4. #4
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    11,372
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Apache + Downloads

    I think building a ZIP file that contains the other ZIPs is probably the easiest solution.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •