tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bachler, Elisabeth (Elisabeth)" <ebach...@lucent.com>
Subject RE: A way to know if file download has ended
Date Mon, 05 Jun 2006 10:15:10 GMT
Thank you to everyone. I will investigate further.
Elisabeth


-----Original Message-----
From: Nicolas Schwartz [mailto:nicolas.schwartz@airweb.fr]
Sent: lunes, 05 de junio de 2006 10:48
To: Tomcat Users List
Subject: Re: A way to know if file download has ended



> 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

---------------------------------------------------------------------
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