You are here: Re: check if file was downloaded « PHP Programming Language « IT news, forums, messages
Re: check if file was downloaded

Posted by Hendri Adriaens on 02/23/07 17:18

> Ok, thanks. So, a chunksize of 1 byte should be optimal for my purpose. I
> will
> test the load differences for the server.

Strangely enough, this doesn't work either...

I have 3 files:
a 19.4 MB
b 159 KB
c 1.03KB

With the previous chunksize (1*1024*1024 bytes), the script continued even
when cancel was clicked for files b and c, but not for a. With a chunksize
of 1 byte, it doens't continue for a and b, but still does for c. So the
script would still conclude that it was downloaded even if cancel was
clicked.

If anyone has an idea how this works and how I could get a script to
correctly report whether a file was actually downloaded or not, please let
me know.

Thanks, best regards,
-Hendri.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация