Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to know if a download is completed.  RSS feed

 
vijay shanker
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi coders,

I have got an assignment to download/upload files form a localhost. i have successfully completed this task.

But i want to log message when a download is completed.

Is there any way, to find out the time a file download process takes.

I want to make some decisions, when the file-download is completed.

Regards.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Log a message on the server or send one to the client ? You should be able to get a Writer on the server side servlet and do whatever you want once the data is streamed to the client. Get the client's principal or JSESSIONID cookie to uniquely identify who downloaded what.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!