On 3-11-2011 9:01, Wesley M. wrote: > Thank you for your reply. > I read the man page of ftp-proxy. > There's an option like you said, "-q queue". > But in my way, i have 2 queue : ilimit and istd > ilimit : bandwidth -> 20Ko/s > istd : bandwidth -> 128 Ko/s > > So i just modified to my /etc/rc.conf.local : > ftpproxy_flags="" to ftpproxyflags="-q ilimit" > Restart the box. > > Now, when this limited user download files using ftp, it downloads at > 20Ko/s. > But the others download also at 20Ko/s ; How can i fix the others to > download files at 128 Ko/s ? > How can i have 2 ftp stream like one 20Ko/s and 128 Ko/s ?
Run two ftp-proxies: one with the -q ilimit and one with the -q istd. Then redirect the limited user to one proxy and the rest to the other.