I have a db MySQL where there are all users with thier password and ip.
But password are in MD5. So i can't add them directly. Is There no way to add them ? ioFTPD doesn't have a cmd to add users with a md5 password ? Or is there an other solution ?
What you can do, is add all the users with a default password, and then manually copy/paste the passwords from your database into the userfiles of the users (the passwords in the userfiles are also stored as md5 encrypted values).
no..in fact i have a db of user with their password wich are encrypted in MD5 and i would can add them. But i cant because the pass are in MD5 and we cant decrypt them and in ioFTPD we can adduser only with the real password not with the MD5 encrypted password.
As I said, you can add all the users in your database with the site adduser command. You just give them for example the password 'ioftpd'. After you added all the users with password 'ioftpd', you can open their userfiles (in /iofptd/users) and paste the md5 value from the database in the password field of the matching userfile.
If you don't understand what I mean, maybe you should read this.