How to import users from another FTP
Moderator: Project members
How to import users from another FTP
Hello,
I'm wondering is it possible and how, if yes, to import users from another ftp server? Users' passwords in that I would like to import are in plain text. Is it possible and how to convert them to this salted hash?
Thanks
I'm wondering is it possible and how, if yes, to import users from another ftp server? Users' passwords in that I would like to import are in plain text. Is it possible and how to convert them to this salted hash?
Thanks
Re: How to import users from another FTP
It is certainly possible if the passwords are in clear, but there's no automatic way to do it: you go to write your own script that emits a compatible users.xml file for that. There's currently no documentation about it, but it should be self-evident once you do some experiments with creating users through the UI.
The program filezilla-server-crypt can be abused to spit out the password-related config for each user. It can be invoked this way:
And it will print out something like this:
Which you can translate into an xml like this:
The program filezilla-server-crypt can be abused to spit out the password-related config for each user. It can be invoked this way:
Code: Select all
filezilla-server-crypt this-is-the-password user.password
Code: Select all
--user.password@index=1 --user.password.hash=dNFbyPBgME2jurr17VCv05JikQvsN/ERLpbzr+OCefM --user.password.salt=lmIeMEo9ZDLQY7JiGzSCgHR838u4jeGDJig+Oe2iFdc --user.password.iterations=100000
Code: Select all
<password index="1">
<hash>dNFbyPBgME2jurr17VCv05JikQvsN/ERLpbzr+OCefM</hash>
<salt>lmIeMEo9ZDLQY7JiGzSCgHR838u4jeGDJig+Oe2iFdc</salt>
<iterations>100000</iterations>
</password>
Re: How to import users from another FTP
Thank you!!!
Re: How to import users from another FTP
I have new problem now. I created batch file that generates hash and salt passwords from my plain text passwords, using filezila-server-crypt.exe
But, when I paste hash and salt in users.xml file and try to login, I recevie 'invalid password' message.
What I then noticed is this, when I set password through the admin console for the user created directly in users.xml, then I login as that users, login works. AFTER THAT, I paste hash and salt for the user and then IT WORKS!
It's as if the users needs to login first and only after that I can modify its hash/salt password in users.xml
Anyone can help with this?
Thanks
But, when I paste hash and salt in users.xml file and try to login, I recevie 'invalid password' message.
What I then noticed is this, when I set password through the admin console for the user created directly in users.xml, then I login as that users, login works. AFTER THAT, I paste hash and salt for the user and then IT WORKS!
It's as if the users needs to login first and only after that I can modify its hash/salt password in users.xml
Anyone can help with this?
Thanks
Re: How to import users from another FTP
Did you restart the server after modifying the settings file underneath the server?
Re: How to import users from another FTP
I found the cause, I misspeled description by one letter, and didn't notice it.
Thank you!
Thank you!
Last edited by radjoc on 2021-11-26 09:08, edited 1 time in total.
Re: How to import users from another FTP
Can you please paste here one of the "user" entries in the users.xml file that you created?
Re: How to import users from another FTP
I found the cause, I misspeled description by one letter, and didn't notice it.
Thank you!
Thank you!
-
- 504 Command not implemented
- Posts: 6
- Joined: 2022-03-09 16:34
- First name: Eric
- Last name: Ibrahim
Re: How to import users from another FTP
Bonjour
Quelqu'un peut me donner une script PHP pour la génération de mots de passe pour filezilla version 1.3 s'il vous plaît. merci de votre aide.
Quelqu'un peut me donner une script PHP pour la génération de mots de passe pour filezilla version 1.3 s'il vous plaît. merci de votre aide.
Re: How to import users from another FTP
This forum is English only. Please write in English.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 504 Command not implemented
- Posts: 6
- Joined: 2022-03-09 16:34
- First name: Eric
- Last name: Ibrahim
Re: How to import users from another FTP
Hello
Can someone give me a PHP script for generating passwords for filezilla version 1.3 please. Thank you for your help.
Can someone give me a PHP script for generating passwords for filezilla version 1.3 please. Thank you for your help.
-
- 500 Command not understood
- Posts: 1
- Joined: 2023-09-29 07:09
Re: How to import users from another FTP
Hello.
I am trying to create a batch to simplify the administration of Filezilla Server.
I'm writing to ask you a question about the filezilla server crypt application.
This application is supposed to generate user passwords, but I'm unable to get it to work on the command line.
If I'm not mistaken and this application does indeed allow you to do this, could you please give me a concrete example of its use?
Thank you very much.
I am trying to create a batch to simplify the administration of Filezilla Server.
I'm writing to ask you a question about the filezilla server crypt application.
This application is supposed to generate user passwords, but I'm unable to get it to work on the command line.
If I'm not mistaken and this application does indeed allow you to do this, could you please give me a concrete example of its use?
Thank you very much.