Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Download Now window

    Hello all. Quick one: I have a pdf file on-line. I want people to instead of
    viewing it from the server
    to have but one option, which is to download the .pdf file to their computer.
    is there a
    javasript that opens that Save to... window?

    Thank you.


    samaceb Guest

  2. Similar Questions and Discussions

    1. Popup Download Window
      Hi all, I have <b>Link</b> tag that contains the URL for a specific file in the server. I want that once the user click on that link a popup...
    2. download window opens twice
      I have a webpage that takes a query and gives the user the option of saving it to file as a CSV file. When the user clicks a button, a download...
    3. Download window?
      is it possible to get a download window like on the internet so a user using my director file can save a file to their hdd?
    4. download file and close window challenge
      open the file download.asp from another main.asp page using window.open what the problem is when i clikc on the hyperlink it prompts me the ie...
    5. File download prompt window
      Typically, when clicking on a link on the internet that requires a download such as a.mpg file, a window pops up that gives the option to "save to...
  3. #2

    Default Re: Download Now window

    If this is indeed what you want to do, then you'll need to do this with
    server-side script, forcing the HTML header to octet-stream or similar.
    This will prompt the browser to open a Save/Open dialogue. If you're not
    sure what I'm talking about, then you're probably better off just linking to
    it.

    Why does the end user need to download this PDF and not view it? If they've
    got Acrobat Reader installed, it has its own Save button and menu item. Why
    not let the consumer decide?

    Best regards,
    Chris


    Chris In Madison Guest

  4. #3

    Default Re: Download Now window

    if you want the user to download the pdf file through a link, then just
    zip it

    samaceb wrote:
    > Hello all. Quick one: I have a pdf file on-line. I want people to instead of
    > viewing it from the server
    > to have but one option, which is to download the .pdf file to their computer.
    > is there a
    > javasript that opens that Save to... window?
    >
    > Thank you.
    >
    >
    Manuel Socarras Guest

  5. #4

    Default Re: Download Now window

    Have a look for Tom Muck's Force Download extension on the MM exchange.

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004




    Julian Roberts Guest

  6. #5

    Default Re: Download Now window

    The zip file is not an option. My client who I am doing this for, wants to
    have his clients download the pdf file to their computer directly .
    Reason why is because it is 1.8Mb too slow to view on-line. We've already
    gone through the option of a zip and got shot down. Reading it on-line is not
    an option.
    If I drop the pdf on the server the user's acrobat reader opens it right
    away. I have seen a java script
    javascript:downloadNow('http://www.') and was wondering if any of you knew the
    script it self or how to apply it.

    samaceb Guest

  7. #6

    Default Re: Download Now window

    Well, regardless of whether the user downloads it or opens in Acrobat, a
    1.8M file is going to download at the same speed. But if you really need
    this to work, check out the extension that Jules recommended. It works
    great :-)

    Best regards,
    Chris


    Chris In Madison Guest

  8. #7

    Default Re: Download Now window

    Would you be so kind as to point me towards that page. I am not too familiar with this forums.
    I do thank you all for the speedy help so far.

    Take care.
    samaceb Guest

  9. #8

    Default Re: Download Now window

    Here you go :-) Looks like it's only ASP, however.

    [url]http://www.tom-muck.com/extensions/help/ForceDownload/[/url]

    Best regards,
    Chris


    Chris In Madison Guest

  10. #9

    Default Re: Download Now window

    I came across this.

    An easy to use force file download script, especially useful for sites that
    have large media files
    and would like people to download the files locally instead of playing them
    remotely off the web server.
    Usage: [url]http://www.yoursite.com/force-download.php?file=filepath[/url]

    I just can't get it to work , I am using php. My file is mediakit.pdf the
    file=filepath is what is getting me.

    samaceb Guest

  11. #10

    Default Re: Download Now window

    .oO(samaceb)
    >The zip file is not an option. My client who I am doing this for, wants to
    >have his clients download the pdf file to their computer directly .
    Zipping might reduce the filesize. In this case I would use it as an
    alternative download version.
    > Reason why is because it is 1.8Mb too slow to view on-line.
    It's slow on download as well. 1.8MB are 1.8MB.
    >We've already
    >gone through the option of a zip and got shot down. Reading it on-line is not
    >an option.
    Have you asked all users? Broadband exists, on some networks 1.8MB are
    peanuts and loaded in seconds. Additionally there might be PDF plugins
    which allow reading while downloading the rest in the background.
    > If I drop the pdf on the server the user's acrobat reader opens it right
    >away.
    If available and enabled. I have the plugin installed, but disabled
    (it's unstable and crashes), so I always get the download dialog.
    >I have seen a java script
    Forget that. It will cause trouble for people with JS disabled or not
    available at all. JS should never be used for basic functionally, only
    for additional convenience features.

    I would simply do it like this:

    <a href="document.pdf">title (file size)</a>

    And probably a second link to a zipped version if it's smaller than the
    unzipped one.

    Micha
    Michael Fesser Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139