create ftp user SQL row?

  • Hi there,


    I would like to create FTP accounts for my user's for a fileshare system. I create unique folders for every user. I want to add new SQL rows to i-mscp.


    I found:
    ftp_group
    ftp_users


    but how can I encode the passwords like those $1$l4LHMOi>$tqzr0tPnzX3dNsjb6feF/1 ... ? What is this encodion type?


    And can I limit upload size per day somehow? Max upload size for the ftp folders?
    [hr]


    Maybe: crypt('YOUR_PASSWORD', '$1$LX/3.F60$'); ?
    [hr]


    It's ok. I have created some test users... But homedir is not working. :-( When I login into FTP not the homedir shown to me that I added to sql. My domains homedir is showing... :-(
    [hr]


    Ok, it's working. I solved the problem.


    Now I just need to limit folders sizes...

    Edited once, last by ttjanos ().