Solved

Generating CSV files for download to clients computer in a (monorail) web app

Posted on 2008-10-08
6
209 Views
Last Modified: 2013-12-17
I have written a web app using monrail web framework http://www.castleproject.org/monorail/index.html. It generates reports, and displays them on the browser as well as converting this to a csv. Currently that csv file is generated and stored on the webserver, this is no good. What I need to know is how to get that csv file to download onto the clients machine.
0
Comment
Question by:gscull01
  • 3
6 Comments
 
LVL 3

Author Comment

by:gscull01
ID: 22767958
Can anyone help, I don't suppose it is too difficult lots of web-apps have this functionality. Bascially, all I need is for a csv file to be generated that will save on the users machine. If someone can give a general answer on the approach I will be able to tailor it to my specific framework/language.

Many thanks!
0
 
LVL 50

Accepted Solution

by:
Steve Bink earned 400 total points
ID: 22773279
You can't generate a file on the user's machine.  You need to offer a link to the user to download the created file from the server.  If you want automation, you can push the file to user by forwarding them to the URL.
0
 
LVL 3

Author Comment

by:gscull01
ID: 22774488
It's the automation part I am interested in. How can I push the file to the user?
0
 
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 100 total points
ID: 22774657
0
 
LVL 3

Author Closing Comment

by:gscull01
ID: 31504406
Thanks for your input!
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Let’s list some of the technologies that enable smooth teleworking. 
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now