HighDots Forums  

customized download function

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss customized download function in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JS_Learner
 
Posts: n/a

Default customized download function - 01-23-2006 , 11:53 PM






I have been trying to write a download function in JavaScript that does
the following, when the user clicks on the link:
The js function dispatches a perl script to convert the file into a
csv format and gzip it.
It waits, somehow, for a notification that the file is ready, and
It then, prompts the user to select a location to download the file.

Is it possbile to do this in javascript?
Thank you all in advance,

JS_Learner


Reply With Quote
  #2  
Old   
Stepan Mozyra
 
Posts: n/a

Default Re: customized download function - 01-26-2006 , 03:55 AM






Hello, JS_Learner!
You wrote on 23 Jan 2006 21:53:47 -0800:

JL> I have been trying to write a download function in JavaScript that
JL> does the following, when the user clicks on the link:
JL> The js function dispatches a perl script to convert the file into
JL> a csv format and gzip it.
JL> It waits, somehow, for a notification that the file is ready, and
JL> It then, prompts the user to select a location to download the
JL> file.

JL> Is it possbile to do this in javascript?
JL> Thank you all in advance,

It is not so hard to implement using IFrames.
Or you may want to use AJAX.

With best regards, Stepan Mozyra.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.