Hosting .rar files but downloads a .rar.txt

Discussion in 'HTML & Website Design' started by nextworldloop, Oct 22, 2007.

  1. #1
    Im, hosting some .rar files on my site, but when I click on it to download it is loads up lots of text, but if I right click on on the link then say save to desktop, then it downloads but as .rar.txt and when I take of the .txt the file works like a normal .rar file.
    I have search this problem on google but didn't really find a answer. :(

    So does anyone know what code I need to have to get the .rar files to download correctly?
     
    nextworldloop, Oct 22, 2007 IP
  2. wallarookiller

    wallarookiller Active Member

    Messages:
    647
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #2
    if you pm me an example i could probably help you...
     
    wallarookiller, Oct 23, 2007 IP
  3. unitechy

    unitechy Peon

    Messages:
    350
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i guess thats the problem in your computer.. can you give us a link so that we can check the problem for you?
     
    unitechy, Oct 23, 2007 IP
  4. nextworldloop

    nextworldloop Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok, here is a link:

    Here is a .rar file.
    File: Click here to download
    Password: test

    I think it downloads fine with windows, but not on my Mac, but some sites have the same problem as me, but then there is another that will work fine, so thats why I thout maybe it can be fixed via HTML or somthing...
     
    nextworldloop, Oct 23, 2007 IP
  5. unitechy

    unitechy Peon

    Messages:
    350
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i am not facing any problem . the file opened up as .rar
     
    unitechy, Oct 23, 2007 IP
  6. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #6
    rename the file as .rar.txt, some host does not allow .rar, .exe file to be hosted
     
    it career, Oct 23, 2007 IP
  7. unitechy

    unitechy Peon

    Messages:
    350
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7

    well if thats the case then even i shuld get the file as .rar.txt ?? but when i downloaded it i simply got it as .rar
    so i guess its just os erroe. also he mentioned that it works fine on windows just problem with mac
     
    unitechy, Oct 23, 2007 IP
  8. gsv13

    gsv13 Well-Known Member

    Messages:
    2,773
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    130
    #8
    Downloading as .rar only on ubuntu here. No prob here!
     
    gsv13, Oct 23, 2007 IP
  9. nextworldloop

    nextworldloop Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yea, but how come it works with some sites but not other (and not mine) I was using the same browser too.
     
    nextworldloop, Oct 23, 2007 IP
  10. nextworldloop

    nextworldloop Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Don't worry I got some help from this other guy.

    This is what he told me to do and it worked!

    Create on your webspace folder a .htaccess file with the following
    content:

    AddType application/x-rar-compressed rar
     
    nextworldloop, Oct 23, 2007 IP
  11. unitechy

    unitechy Peon

    Messages:
    350
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #11
    hey thanks for letting us know the solution
     
    unitechy, Oct 24, 2007 IP