F.Xavier Noria wrote: >I would like to know whether in the server side one can figure out if a >user has completed the download of a known file. Would bytes_sent() give >the actual number of bytes sent if the download gets interrumpted by the >client? Would yo know a better approach if not? > >-- fxn > If you send the file in chunks, I suppose you can use $c->aborted every so often to check... Even if not, you can still use $c->aborted at the end to check if the connection's still there. That ought to tell you, although I'm not sure if that it's a fail-saif solution...
Issac