Jonathan Rockway wrote:
On Sunday 11 March 2007 09:26, Thomas Klausner wrote:
But how do I figure out if the download was successfull? I didn't find
anything in the docs (but a RTFM-answer is appreciated, if I missed the
right piece of codocumentation).

You probably want a subclass of IO::File that will callback into your application as the file is streamed. Keep in mind that this won't account for buffering between the app and webserver, the webserver and the load balancer, the load balancer and the user's ISP's front-end proxy, the user's ISP's front-end proxy and the user's TCP stack, the user's TCP stack and the web browser, the web browser and disk cache, and finally the disk cache and the user's disk. Not as simple as it seems, is it? :)

You'd be better off just letting the user download the file as many times as it takes for, say, a week.

Regards,
Jonathan Rockway


How does that differ from something that compares bytes sent to bytes received? Assuming that the OP defines success when "bytes received = bytes sent"

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to