Topic: Ravok, Steve, and all comers  (Read 1630 times)

0 Members and 2 Guests are viewing this topic.

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Ravok, Steve, and all comers
« on: March 25, 2005, 10:12:05 am »
I'm testing some code that allows the uder to download text files without having to open them or zip them up. I think you two and some others my enjoy seeing the text file because it is the code for the Default page of the ladder league.

Check it out at http://www.toasty0.net/DownLoadTest.aspx

Enjoy.

Jerry
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Ravok, Steve, and all comers
« Reply #1 on: March 25, 2005, 01:29:14 pm »
FireFox 1.0.2 downloads the text file and opens it in notepad ok... is it supposed to open in the browser? (I notice the link is to a javascript)

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: Ravok, Steve, and all comers
« Reply #2 on: March 25, 2005, 09:21:26 pm »
You should have an option of either opening it or saving just like would happen if you were downloading a zipped archive.

That annoying Javascript is from the silly arsed link button I used. I will try it with other controls later.

Thanks for the feedback Bonk.

Best,
Jerry

EDIT: I did some testing and the use of a standard HTTP button object removes the javascript, Bonk. Thought you might like to know.
« Last Edit: March 26, 2005, 01:07:09 am by toasty0 »
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista