Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with scheduling downloads

 
visu Nekk
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

I kept a dowload hyperlink in a jsp page.When i click on the download link,it should give me two options-Download Now and Download Later.When i click on Download Now,the file should be saved to disk.If i click on Download Later,a dialog box should be displayed prompting user to enter time in seconds.When the user clicks ok,the download should start after the specified time.Can anyone help me out how to do this?

Thanx in advance,
Regards,
Visu N
 
Bimal Patel
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think for downloading right away, there is not problem. But for downloading after a specific time, you can put a kind of counter in javascript and after the counter reaches to the specified time, request the server for the specified resource to be downloaded.
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When the user clicks ok,the download should start after the specified time.

What happy if the user leave that page?
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by visu Nekk:
I kept a dowload hyperlink in a jsp page.When i click on the download link,it should give me two options-Download Now and Download Later.When i click on Download Now,the file should be saved to disk.If i click on Download Later,a dialog box should be displayed prompting user to enter time in seconds.When the user clicks ok,the download should start after the specified time.Can anyone help me out how to do this?


The best solution for this would a download manager application at the client end.
[ February 06, 2006: Message edited by: Adeel Ansari ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic