• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with scheduling downloads

 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic