Hi, I'm tring to code a download page. But I have to list the files from multiple ftp accounts. So I took the code php.net to limit the speed and adapted that for ftp.

But I have a problem when the parameter in sleep is 1 the download speed stuck at 10kb. but when I change it to a number less then 1. the speed becomes unlimited.

I can't define the speed limit in any case. What can I do to overcome this problem....