Can I enable the download of a file from a link?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Simmer77
    Corporal

    • Aug 2008
    • 13

    Can I enable the download of a file from a link?

    I seem to think that I can use a link on my BV website to allow users to download a file. Is this true??

    Can you please see http://www.windrifters.com/cv.html I have added a "file" link to the image, believing it will deliver the file. I also tried just putting the URL to the file on the page (which doesn't work). Is anyone able to advise?

    Thanks in advance,
    Greg

    Notes:
    - The file is in my public.html folder (cv.pdf)
    - I chose link type "file" for the image
    - filename: http://www.windrifters.com/cv.pdf
    - I chose "open link in a popup window"
  • DarrenC
    Brigadier General

    • Jul 2008
    • 1750

    #2
    Re: Can I enable the download of a file from a link?

    If you click on the text link...pdf opens fine so I can save and/or print.

    If you click on your CV Image it looks like you've tried to get us to open it in a pop window but doesn't work .

    Redo the linking properties.

    url - http://www.windrifters.com/cv.pdf
    Target - _blank (if you want to open in it in a new window)
    Happy Building

    DarrenC

    Comment

    • Simmer77
      Corporal

      • Aug 2008
      • 13

      #3
      Re: Can I enable the download of a file from a link?

      Hi Darren,
      Thank you kindly for replying. Yes, I had figured out the test link in the interim, however, have done as you've instructed but I cannot get anything to open when I click the image. I get the link "finger" icon, but nothing happens. Can you try and advise?

      Greg

      Comment

      • DarrenC
        Brigadier General

        • Jul 2008
        • 1750

        #4
        Re: Can I enable the download of a file from a link?

        When I last looked, it looked as if you've been tinkering with the popup settings.

        Start from scratch, remove the image, then reinsert it, then set the link and target properties as I explained above.

        Stay away from the pop up settings!
        Happy Building

        DarrenC

        Comment

        • Simmer77
          Corporal

          • Aug 2008
          • 13

          #5
          Re: Can I enable the download of a file from a link?

          BINGO!
          As instructed.....Thank you very kindly Darren.

          Greg

          Comment

          • cboratenski
            Sergeant

            • Sep 2009
            • 23

            #6
            Re: Can I enable the download of a file from a link?

            I'm having a simliar problem but I've done everything recommended and I receive a "cannot display the web page" error every time. The page I'm working on is http://www.resourcemobile.com/Glossary.php and I'm having trouble with the link at the top of the page that says "click here to download a PDF version of the glossary".

            Like the previous guy I selected "file" as the Link Type, entered the filename http://www.resourcemobile.com/mobile_glossary.pdf to download the file mobile_glossary.pdf which is stored in my /public_html/resourcemobile.com folder. "Target" is blank and "Open link is a popup window" is not checked.

            Thanks for the help.

            Comment

            • CarbonTerry
              Major General

              • Oct 2005
              • 2620

              #7
              Re: Can I enable the download of a file from a link?

              The link is incorrect.
              Mouseover your link and look at the URL in the lower lefthand corner of your browser.
              The link starts with ////.www.
              Redo and you will be OK
              CarbonTerry
              Semper Fi
              Still green...still mean......just not as lean

              Red Hawk Archery
              Zone 5 Photo
              My USMC

              Comment

              • cboratenski
                Sergeant

                • Sep 2009
                • 23

                #8
                Re: Can I enable the download of a file from a link?

                Thanks so much, that did the trick.

                Comment

                • Judahpeter
                  Sergeant

                  • Nov 2009
                  • 28

                  #9
                  Re: Can I enable the download of a file from a link?

                  Greetings in the Lord:

                  I have a similar problem. My site is http://www.preaching-truth.com/eswor...d_3_colors.php and I have a file I want to be able to download called EswordColorGuide.jpg. Everything looks good on my end as far as location of the file and the links, but I get an error when I click on the link to download it. The file is in public_html/preaching-truth.com directory.

                  Also when I hover over the link, its pointing to the place where I put the file, but it doesn't work.

                  I selected file from the link box and _blank

                  Does the file I want to download have to be in the public_html directory? If so, how then do I do it since this URL www.preaching-truth.com is my addon domain to www.preachingtruth.net.

                  So since the addon domain is a sub directory of public_html, is this possible?


                  Any help would be greatly appreciated.

                  Thanks, in Christ, Shawn
                  I am the way, the truth, and the life. John 14:6
                  www.preaching-truth.com

                  Comment

                  • CarbonTerry
                    Major General

                    • Oct 2005
                    • 2620

                    #10
                    Re: Can I enable the download of a file from a link?

                    The link is not correct.
                    It must be in your addon domain folder.
                    Then the link would be: www.youraddonsitename.com/Esword_3_colors.php
                    Is the color guide on a page? Or, is it just a jpg that you have uploaded to your server?
                    If it is a jpg image the link should be:
                    www.youraddonsitename.com/EswordColorGuide.jpg
                    This is assuming that the jpg name is "EswordColorGuide.jpg"
                    All files for your addon domain must be in your addon domain name folder that resides inside your public_html directory.
                    BTW, you should start your own thread. (not now though) It will enable more folks here on the forum to help you.
                    CarbonTerry
                    Semper Fi
                    Still green...still mean......just not as lean

                    Red Hawk Archery
                    Zone 5 Photo
                    My USMC

                    Comment

                    • Judahpeter
                      Sergeant

                      • Nov 2009
                      • 28

                      #11
                      Re: Can I enable the download of a file from a link?

                      Thanks for the help, but I'm still not getting anywhere.

                      Ok, here's what I have.

                      If the link must be in your addon domain folder, that would be www.preaching-truth.com which it is.

                      Q- Then the link would be: www.youraddonsitename.com/Esword_3_colors.php
                      A- However I dont have a folder called Esword_3_.php. I have a folder called "Esword" which houses all the Esword pages.

                      Q - Is the color guide on a page?
                      A- Yes it is, but I also have a link that says "click here" to download it. Thats the problem one.

                      Q - Or, is it just a jpg that you have uploaded to your server?
                      A - it's that too.

                      If it is a jpg image the link should be:
                      www.youraddonsitename.com/EswordColorGuide.jpg
                      This is assuming that the jpg name is "EswordColorGuide.jpg"
                      A - Yes that what I think it is.

                      All files for your addon domain must be in your addon domain name folder that resides inside your public_html directory
                      A - ok.

                      Still not working. Sorry to bother you.

                      In Christ, Shawn
                      I am the way, the truth, and the life. John 14:6
                      www.preaching-truth.com

                      Comment

                      • DarrenC
                        Brigadier General

                        • Jul 2008
                        • 1750

                        #12
                        Re: Can I enable the download of a file from a link?

                        Originally posted by Judahpeter View Post
                        Thanks for the help, but I'm still not getting anywhere.

                        Ok, here's what I have.

                        If the link must be in your addon domain folder, that would be www.preaching-truth.com which it is.

                        Q- Then the link would be: www.youraddonsitename.com/Esword_3_colors.php
                        A- However I dont have a folder called Esword_3_.php. I have a folder called "Esword" which houses all the Esword pages.

                        Q - Is the color guide on a page?
                        A- Yes it is, but I also have a link that says "click here" to download it. Thats the problem one.

                        Q - Or, is it just a jpg that you have uploaded to your server?
                        A - it's that too.

                        If it is a jpg image the link should be:
                        www.youraddonsitename.com/EswordColorGuide.jpg
                        This is assuming that the jpg name is "EswordColorGuide.jpg"
                        A - Yes that what I think it is.

                        All files for your addon domain must be in your addon domain name folder that resides inside your public_html directory
                        A - ok.

                        Still not working. Sorry to bother you.

                        In Christ, Shawn
                        Exact spellings is crucial, if the image name and link arn't completely matched, it wont work.

                        Also if I hover that download link and look at the bottom right of my screen I see this file:///esword/EswordColorGuide.jpg. Thats never going to work.

                        First job is to know what that image is called - You say 'EswordColorGuide.jpg - Check it - Pay particular attention to the use of UPPER and lower case letters

                        Second Job is to decide where you are going to put it.
                        If its among the site pages, then url will be http://www.preaching-truth.com/EswordColorGuide.jpg

                        If you have put it in your 'Esword' folder, then the url will be http://www.preaching-truth.com/Eswor...ColorGuide.jpg

                        The important thing is the use of your letters, Using UPPER instead of lower. The words maybe spelt the same but if you mix up the cases, then you are heading for trouble. This included folder names as well.

                        Rule of thumb - Stick to lower case for naming, pages, images, folders and so on.
                        Happy Building

                        DarrenC

                        Comment

                        • Judahpeter
                          Sergeant

                          • Nov 2009
                          • 28

                          #13
                          Re: Can I enable the download of a file from a link?

                          Ok I renamed the file to all lowercase eswordcolorguide.jpg.

                          Ok just to claify.

                          The page http://www.preaching-truth.com/eswor...d_3_colors.php has a link that says "Download This Color Guide Here"
                          This is the link I can't get to work...all I get are errors.

                          So I'm still confused! I'm PC smart and this is blowing my mind. I know it can't be this hard!

                          I've uploaded the jpg file to all the directories for arguments sake on the ftp server just to eliminate any errors that I might make. The root addon domain- which is (public_html)/ www.preaching-truth.com ; Then the next subdirectory - which is (public_html)/www.preaching-truth.com/esword ;

                          So next I go into BV and click on the link and edit the link properties. Here I put http://www.preaching-truth.com/eswordcolorguide.jpg ;
                          and www.preaching-truth.com/eswordcolorguide.jpg ; (without the http://)
                          and preaching-truth.com/eswordcolorguide.jpg (without the http:// and www) and none of these options work.

                          Each one and the file appears in the lower corner of the screen and it says the various locations. Is it supposed to say ftp://http://www.preaching-truth.com? Or what is is supposed to say for the link to work?

                          I don't think the problem is the file anymore, like I said, I renamed it to all lowercase letters, and I put it in all the directories, just in case...so I think that my problem is in BV in the link properties page. What exactly do I need to put in that "Filename" box? So when I click on the link, my browser just hangs, and then spits an error at me saying it can't find the file.

                          Sorry for the headache...I have one now...:(

                          Thanks for the help Darren, but perhaps when you went to the site, I was editing it, and even then you might to ctrl-F5 to refresh.. Another thing; whenever I work with BV or links, I like to copy/paste as to not make mistakes with typos

                          Thanks
                          I am the way, the truth, and the life. John 14:6
                          www.preaching-truth.com

                          Comment

                          • DarrenC
                            Brigadier General

                            • Jul 2008
                            • 1750

                            #14
                            Re: Can I enable the download of a file from a link?

                            I can see this one http://www.preaching-truth.com/eswordcolorguide.jpg
                            It has god at the top and judgements at the bottom.

                            I can see the same without http- www.preaching-truth.com/eswordcolorguide.jpg

                            All you need to do now is use the above link (use the http one) in that word HERE.
                            Happy Building

                            DarrenC

                            Comment

                            • Judahpeter
                              Sergeant

                              • Nov 2009
                              • 28

                              #15
                              Re: Can I enable the download of a file from a link?

                              Thanks Darren. Much appreciated. I got it to work, but it's still not exactly what I'm looking for. I want to be able to "LMC - Left mouse click" on the link, and it give me the option of saving the file to my computer. As of now, I get a pop up window to view it. The reason I'm being picky about this, is because I have other files that I'm going to be selling, and they are going to be zipped compressed files, and I need to know how to do it for those.

                              Now, this is what I did to get it to work.
                              A. In the Link properties box for the word "HERE" I changed the drop down arrow "Link type" to "http://" instead of "ftp://"

                              SO, now I can click on it and a separate window opens where I can see the ewordsolorguide.jpg.

                              B. Alternatively, I can "RMC - right mouse click" and select "save as", and then a save option box opens. However, like I said before, I want to be able to LMC this link, and get a "save as" Is there any way to do this? And why did I have to change from Ftp to http in the link properties page?

                              Thanks for the help! At least I'm in the right direction now.
                              I am the way, the truth, and the life. John 14:6
                              www.preaching-truth.com

                              Comment

                              Working...
                              X