click-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadia Kunkov <nkun...@escholar.com>
Subject RE: File Download with Click?
Date Thu, 12 Jan 2012 14:15:57 GMT
Thank you Josh, I will give it a try.


From: Josh Kamau [mailto:joshnet2030@gmail.com]
Sent: Thursday, January 12, 2012 4:06 AM
To: user@click.apache.org
Subject: Re: File Download with Click?


create a pageaction that returns the File. add a link in your Page that point to the action.

josh
On 12 Jan 2012 00:56, "foxesout" <nkunkov@escholar.com<mailto:nkunkov@escholar.com>>
wrote:

Hello everyone

What is the best way to download files from a click application?

I would like to download to a text file, probably using the background
thread.
I need the user to click a link and see a popup where they can choose to
Save, Open or Cancel action.
If Save - they need to specify the file location.
If Open - they will need some "please wait" or a moving image while they
wait for the file to be generated.

What is the most common way to implement a file download in Click?
Thanks so much.

--
View this message in context: http://click.1134972.n2.nabble.com/File-Download-with-Click-tp7177975p7177975.html
Sent from the click-user mailing list archive at Nabble.com.
Mime
View raw message