|
| |
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
Problem Creating Excel downloadable link - 7/1/2003 23:44:00
Howdy all, I have a page that creates an Excel spreadsheet from the information in my database. I created an ASP/VB script. All works fine. The database opens and fills the Excel Spreadsheet. The problem is that I want to make a link that a person can click on to download the spreadsheet to their computer. In ASP, I used the following line after the sheet was created: response.write " <a href=' client.xls' >Client List</a>" Theoritically, this should work!!! In reality what happens is : 1): The client clicks the link and a password box pops up. 2): You have to click [Cancel]. You don' t really have a choice. 3): The spreadsheet appears in the browser. Totally not what I want done. The directory that the spreadsheet is created in has full R/W/D permissions set. I don' t think it is password protected either. People save photos in the directory all the time. So I' m stumped.. Has anyone had this problem / know what to do??? Any help will be greatly appreciated. Thanks LLLuneeeee
_____________________________
|
|
|
|
SerenityNet
Posts: 1387 Joined: 6/12/2001 From: Allen, TX, USA Status: offline
|
RE: Problem Creating Excel downloadable link - 7/2/2003 1:04:20
I don' t have the answer for you, but I recall seeing this post. Maybe it will help.
_____________________________
</Chaos, panic, & disorder - my work here is done.>
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Problem Creating Excel downloadable link - 7/28/2003 14:01:41
Bobby, Actually, the file and the pages are in the same directory " upload" . Do you mean remove the line: filePath = " /uploads/" then what would I do with the line: FStream.LoadFromFile(filePath) ? ZIP: I wish I could. The site would have to automatically generate the zip itself after it created the xls file. I have an extended WinZip programmers library that removes the need for me to create zips files manually and does it automatically from a script that you create and call from within C++, -BUT it is only good for a desktop hard drive, not the net. I wish I could do that. It would solve my problem immediately.
_____________________________
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Problem Creating Excel downloadable link - 7/28/2003 14:04:01
quote:
8/15/1969 Holy Moly!!!!!!!!!!! 34 years on OutFront? You should get an award!!!
_____________________________
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: Problem Creating Excel downloadable link - 7/30/2003 17:02:56
Spooky, You mean like a full server based: http://......... all the way to the file?
_____________________________
|
|
|
|
J-man
Posts: 936 From: Canada Status: offline
|
RE: Problem Creating Excel downloadable link - 7/31/2003 15:37:09
Maybe i a little lost here cause to me, the problem seems to have deivated from the original issue. It sounds like your .xls file is being dynamically produced, being populated on the fly? is this correct? or is the xls file created on the server and the server scripts save the .xls file to a folder?
< Message edited by J-man -- 7/31/2003 3:39:17 PM >
|
|
|
|
J-man
Posts: 936 From: Canada Status: offline
|
RE: Problem Creating Excel downloadable link - 8/1/2003 2:00:09
quote:
so it can be downloaded to the client. how do you want to the client to download the xls? by clicking on a link on a webpage or email? quote:
Then the .xls file closes automatically or manually? what languages / server languages work on the server? Maybe saving the .xls to a folder after it is created is not the answer? maybe you need to dynamically create it every time unless you need specific timestamped records, maybe you could cache a zip file in a users computer, display pages from the zip on the users computer...Java classes, all from visiting to a web page. I' m sure there are easier work arounds.....
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|