i dont want use the Sleep method to limit speed upload download in my program. My teacher say there was another way to do this, please help me! Thanks!
Asked
Active
Viewed 2,206 times
-1
-
Where is your code first of all ? Everything else comes second. Regards – nIcE cOw Jan 31 '12 at 08:58
1 Answers
2
If you are using servlets, here: Restrict download file bandwidth/speed in Servlet you will find a complete solution. Otherwise you can easily customize it.

Community
- 1
- 1

Tomasz Nurkiewicz
- 334,321
- 69
- 703
- 674
-
i use the InputStream() to do that (copy file, or download from internet), how can i do? :D – Tran duy Khoa Jan 31 '12 at 09:24