Can limit ftp bandwidth ?

Discussion in 'Site & Server Administration' started by alex641230, Jun 13, 2011.

  1. #1
    i have cpanel and whm
    can i use them
    creat a ftpserver and multi account
    multi account can access same folder
    but limit account month bandwidth
     
    alex641230, Jun 13, 2011 IP
  2. Minimo

    Minimo Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yeah It's possible but I don't understand your question tough Lol !
     
    Minimo, Jun 14, 2011 IP
  3. alex641230

    alex641230 Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    sorry my bad english
    if i have ftp server , it named a.b.c
    i create two ftp user
    named alex and alex2
    i want alex and alex2 can access same forder
    and limit alex and alex2 month bandwidth is 500G
    and max download speed is 200K ,can't upload
    can i use cpanel and whm do it ?
     
    alex641230, Jun 14, 2011 IP
  4. stardust.x7

    stardust.x7 Active Member

    Messages:
    369
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    90
    #4
    You cant limit only FTP bandwidth rather you can limit full cpanel. But you can limit the datatransfer rate of FTP very easily. Like 50kb/sec. etc.
     
    stardust.x7, Jun 15, 2011 IP
  5. yester123

    yester123 Peon

    Messages:
    360
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes you could definitely limit the users from accessing the data and even you could restrict the bandwidth...........
     
    yester123, Jun 15, 2011 IP
  6. elicitservers

    elicitservers Peon

    Messages:
    714
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    0
    #6
    Probably the best way to go about this is to get a reseller account, and create separate cPanel accounts for each FTP you wish to create, and limit the account to the specified monthly bandwidth limit. I don't believe there is a way to specifically restrict monthly bandwidth usage for a particular FTP account, you can only restrict the actual bandwidth usage on the entire cPanel account.
     
    elicitservers, Jun 26, 2011 IP
  7. KolorKode

    KolorKode Greenhorn

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #7
    You can use a combination of iptables (mangle) and qdist to shape your speeds on a per user basis.
     
    KolorKode, Jun 30, 2011 IP
  8. raffo77

    raffo77 Active Member

    Messages:
    234
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #8
    This guy need a pratical reply.
    If your cPanel have installed pure-ftpd you can edit the file /etc/pure-ftpd.conf.

    Find
    # UserBandwidth

    uncomment and choise a speed, 200kb/s for example.
    UserBandwidth 200

    Restart pure-ftpd and changes are apply.
    This change are made to all users, not just for alex and alex2, to do this you need to edit the vhost of these users on pure-ftp config.
     
    raffo77, Jun 30, 2011 IP