-1

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!

Tran duy Khoa
  • 59
  • 1
  • 1
  • 6

1 Answers1

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