Results 1 to 2 of 2

Thread: Downloadable files

  1. #1
    Join Date
    Oct 2008
    Thanked 0 Times in 0 Posts

    Default Downloadable files


    I'm new to all this, and fairly basic with html.

    Basically I am creating a program that will be put on CD and I am wanting user sto be able to save ZIP folders that our on the CD for them to use.

    I am just basically after the coding so that the user just clicks on a download button and the open/save message pops up. If this isn't possible I'll find another way round it.



  2. #2
    Join Date
    Mar 2006
    Illinois, USA
    Thanked 690 Times in 678 Posts


    I don't see why you posted this in the ASP section. It's not something that would help with, considering ASP needs a server to run (and won't run off a CD).

    This isn't anything complex at all, in fact, though. Quite easy.

    A webpage running from a CD will act just like a webpage on, well, the web. The CD will just act as the server, basically. So, link as you normally would, and use relative links. [The CD drive will change for each computer, so a direct link like "D://..." will fail on any system that doesn't match your own.]

    Now, in terms of making the download just pop up, there are a few ways to force that to happen, or at least I should say you can TRY to force it to happen. However, the ideas I have for that involve a server and PHP (or ASP can do it too I'm sure)-- that won't work off a CD.

    What a browser does with a linked file is entirely the choice of the browser. However, the one universal (so far) way to force/initiate a download is in fact with zip files. So if you're doing zips anyway, then you'll be just fine. Just link to the local zip file-- href="stuff/".
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum


Posting Permissions

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