Link for file download

Sharky Forums


Results 1 to 3 of 3

Thread: Link for file download

  1. #1
    Still Alive spamjedi's Avatar
    Join Date
    Jul 2001
    Location
    The D, Michigan
    Posts
    5,538

    Link for file download

    I had a website running on an IIS server and everything was fine. I recently moved it to an external web server and am having problems with a link that should prompt the user to download a file. When the link is clicked it now displays the contents of the file rather than prompting for download.


    <a href=scripts/breakdownOutput.was>Download the generated script</a>


    Any thoughts? Is it a server setting? I hope not because I don't have access to those settings. I can't think of anything in the code that would make it display rather than download. Maybe a file permission issue?


    Edit: I just tried it with IE and it works. Firefox was what was causing it?
    Last edited by spamjedi; 07-31-2007 at 08:54 AM.
    ||Intel Dual-Core 1.8 GHz||GIGABYTE GA-965P-DS3||EVGA GeForce 8600GTS||
    ||G.SKILL 2GB||Seagate Barracuda 250GB||PHILIPS 20X DVD±R||COOLER MASTER Centurion 5||

    ||A64 3000+||Chaintech SK8T800|Radeon 9800 Pro||
    ||1 gig PC2700||WD 80gig 7200||BenQ 1620 16x4x40x24||XDreamer II||

  2. #2
    Ultra Great White Shark!! richardginn's Avatar
    Join Date
    Feb 2001
    Posts
    16,118
    what software is installed on the External server???
    www.myeducational plan.com-come see my plan to fix the USA educational system. I hope this is sig legal. Major Site Design Update on July 18, 2006. On June 18, 2009 passed the 10,000 post mark. December 24, 2009: Major Theme change and more....

  3. #3
    Still Alive spamjedi's Avatar
    Join Date
    Jul 2001
    Location
    The D, Michigan
    Posts
    5,538
    I'm not sure... its not my server and I am not familiar enough with linux to go and look
    ||Intel Dual-Core 1.8 GHz||GIGABYTE GA-965P-DS3||EVGA GeForce 8600GTS||
    ||G.SKILL 2GB||Seagate Barracuda 250GB||PHILIPS 20X DVD±R||COOLER MASTER Centurion 5||

    ||A64 3000+||Chaintech SK8T800|Radeon 9800 Pro||
    ||1 gig PC2700||WD 80gig 7200||BenQ 1620 16x4x40x24||XDreamer II||

Posting Permissions

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