Solved

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

Posted on 2008-10-08
6
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

751 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