Results 1 to 18 of 18

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

  1. #1
    Simmer77 is offline Corporal
    Join Date
    Aug 2008
    Posts
    12

    Default 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"

  2. #2
    DarrenC's Avatar
    DarrenC is offline Brigadier General
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,756

    Default 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

  3. #3
    Simmer77 is offline Corporal
    Join Date
    Aug 2008
    Posts
    12

    Default 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

  4. #4
    DarrenC's Avatar
    DarrenC is offline Brigadier General
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,756

    Default 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

  5. #5
    Simmer77 is offline Corporal
    Join Date
    Aug 2008
    Posts
    12

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

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

    Greg

  6. #6
    cboratenski is offline Sergeant
    Join Date
    Sep 2009
    Posts
    23

    Default 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.

  7. #7
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default 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

  8. #8
    cboratenski is offline Sergeant
    Join Date
    Sep 2009
    Posts
    23

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

    Thanks so much, that did the trick.

  9. #9
    Judahpeter's Avatar
    Judahpeter is offline Sergeant
    Join Date
    Nov 2009
    Posts
    28

    Default 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

  10. #10
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default 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

  11. #11
    Judahpeter's Avatar
    Judahpeter is offline Sergeant
    Join Date
    Nov 2009
    Posts
    28

    Default 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

  12. #12
    DarrenC's Avatar
    DarrenC is offline Brigadier General
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,756

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

    Quote 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

  13. #13
    Judahpeter's Avatar
    Judahpeter is offline Sergeant
    Join Date
    Nov 2009
    Posts
    28

    Default 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

  14. #14
    DarrenC's Avatar
    DarrenC is offline Brigadier General
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,756

    Default 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

  15. #15
    Judahpeter's Avatar
    Judahpeter is offline Sergeant
    Join Date
    Nov 2009
    Posts
    28

    Default 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.

  16. #16
    DarrenC's Avatar
    DarrenC is offline Brigadier General
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,756

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

    Sounds like you want to zip it then

    On your PC right click the image and send to zip ( or something like that)

    Locate the zip file, in your case, should be ewordsolorguide.zip. FTP this file.

    Link to this file should be
    http://www.preaching-truth.com/eswordcolorguide.zip

    This will give the visitor the option of opening it or saving to their PC.

    Its been a while since I've done this but I am 99% sure thats the way to do it.
    Happy Building

    DarrenC

  17. #17
    Judahpeter's Avatar
    Judahpeter is offline Sergeant
    Join Date
    Nov 2009
    Posts
    28

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

    Darren: Thanks, but No, I don't want to zip the picture. I only want to zip files in the future. I need this picture to be given the option to be saved with a left mouse click, and not a "save as" right mouse click. Unless I select http: in the properties of the link, I can't get the file to download.

    I guess from reading the posts above, I was under the impression that you could use "file" in the properties of the link to download files. This is what I want and this seems to be where I'm getting stuck. Please let me know to do this.

    The reason I want to zip something is for another time.

    Sorry for the confusion and thanks though for the help.

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

  18. #18
    DarrenC's Avatar
    DarrenC is offline Brigadier General
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,756

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

    Shawn

    One last suggestion....perhaps?

    Instead why not insert the image on a fresh BV page and insert some text giving your visitor instructions on what to do with it. Publish that page and link to that instead.
    Happy Building

    DarrenC

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not 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