Solved

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

Posted on 2008-10-08
6
210 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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 tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

776 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