The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Limited Transfer FTP

Discussion in 'General Discussion' started by Aldweb, May 22, 2006.

  1. Aldweb

    Aldweb Well-Known Member

    Joined:
    Feb 18, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I would like to be limited a transfer rate 20k through FTP for each users. I have been installing ProFTP and Pure-FTP, I can use any one. Would anybody know as defining that rate of Transfer per user?
     
    #1 Aldweb, May 22, 2006
    Last edited: May 22, 2006
  2. 10101

    10101 Well-Known Member

    Joined:
    Sep 4, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    If your using pure-ftpd then you just need to edit the UserBandwidth field to suite your requirements then restart the FTP server, the config file is /etc/pure-ftpd.conf.
     
  3. NightStorm

    NightStorm Well-Known Member

    Joined:
    Jul 28, 2003
    Messages:
    286
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    While using the UserBandwidth field is probably your best and easiest method, another way could be to follow the steps at http://www.linuxforum.com/linux-bandwidth-limit/install.html.
    But I suggest against diving into that unless you know what you're doing. The nice thing about the steps at that link is that you can use it for more than just FTP... for those who care about that sort of thing, anyway.
     
  4. Aldweb

    Aldweb Well-Known Member

    Joined:
    Feb 18, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    ok,

    But I want to limit the bandwidth, for user. The user A the bandwidth limit for 10kb/s, user B will have the limit of 15 kb/s and the users C will have 20kb/s.

    Thanks
     
  5. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Changing the 'UserBandwidth' field in the Ftp configuration file will effect all users on the server including the Anonymous users.

    I guess you cannot set differnt Ftp transfer rate for each user.

    If anybody knows how to do it, please let us know as well.
     
Loading...

Share This Page