tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Schwartz <nicolas.schwa...@airweb.fr>
Subject Re: A way to know if file download has ended
Date Mon, 05 Jun 2006 08:47:36 GMT

> This is one of those issues that just can't be solved
> with simple HTTP and HTML.  There isn't a response
> sent to the server to tell it every single download
> was successful (or at least not sent back to the web
> application ... TCP makes sure the last bytes get to
> the other side successfully or an error occurs, but
> the applications on the server side can't tell this or
> at least I don't know how).  Then to make the
> situation more difficult there is no defined event for
> tying into the HTTP process for when a certain
> download has occurred successfully.  So, one has to
> use a download manager of some kind to more easily
> manage things like this.  This could be a signed java
> applet or shockwave file or a COM object (not cross
> platform so I wouldn't recommend that, but you might
> think it's ok if you force IE and windows).  One could
> more easily tell if an upload had finished because you
> at least have a defined form element you can access
> through DOM, get the name, and then monitor the upload
> progress.
> 
> Wade
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

Hi,

I agree with Wade about not knowing in Tomcat whether download succeeded or not.
I tried many code and discussed about it in the forum and came to the conclusion it is not
possible.
(subject was "Last Byte Detection", conclusion was: HTTP is not the good level to detect that.)

Good luck,
Nicolas

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message