Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-08
6
Medium Priority
?
217 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 51

Accepted Solution

by:
Steve Bink earned 1200 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 300 total points
ID: 22774657
0
 
LVL 3

Author Closing Comment

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

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

926 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