Difference between revisions of "Password reset"

From FileZilla Wiki
Jump to navigationJump to search
m (Reverted edits by 173.30.67.105 (talk) to last revision by CodeSquid)
Tag: Rollback
m (Reverted edits by 222.94.102.107 (talk) to last revision by 147.234.18.1)
Tag: Rollback
 
(15 intermediate revisions by 6 users not shown)
Line 12: Line 12:
 
== FileZilla Server - Administrator Password reset for server ==
 
== FileZilla Server - Administrator Password reset for server ==
  
To reset the administrator password for the FileZilla server, edit the ASCII file FileZilla Server.xml, usually located here:
+
To reset the administrator password for the FileZilla Server, edit the configuration file settings.xml.
  
    C:\Users\{username}\AppData\Roaming\FileZilla Server\            (Windows 10)
+
If the FileZilla Server service program is running under the SYSTEM user (the default, unless chosen differently at installation time), the file is located here:
  
The typical contents of this file:
+
    C:\ProgramData\filezilla-server\settings.xml
        <FileZillaServer>
 
            <Settings>
 
                <Item name="User Sorting" type="numeric">0</Item>
 
                <Item name="Last Server Address" type="string">localhost</Item>
 
                <Item name="Last Server Port" type="numeric">14147</Item>
 
                <Item name="Last Server Password" type="string">''{your password here}''</Item>
 
                <Item name="Always use last server" type="numeric">0</Item>
 
            </Settings>
 
        </FileZillaServer>
 
  
Edit the line "<Item name="Last Server Password" type="string">''{your password here}''</Item>", replacing ''{your password here}'' with the new password.
+
Within that file, locate the section that looks like this:
 +
        <!--Administration options.-->
 +
        <admin>
 +
                <local_port>14148</local_port>
 +
                <password index="1">
 +
                        <hash>...</hash>
 +
                        <salt>...</salt>
 +
                        <iterations>...</iterations>
 +
                </password>
 +
                <!-- Other stuff here... -->
 +
        </admin>
 +
 
 +
Remove the entry <password>...</password> and substitute it with <password index="0" />, like below:
 +
 
 +
        <!--Administration options.-->
 +
        <admin>
 +
                <local_port>14148</local_port>
 +
                <password index="0" />
 +
                <!-- Other stuff here... -->
 +
        </admin>
 +
 
 +
Then restart the service. Next time you connect with the Administration Interface you won't need any password. As soon as you connect, set a new administration password using the proper configuration pane.

Latest revision as of 09:49, 14 September 2023

FileZilla Client - Recover lost passwords for sites[edit]

From the FileZilla client menu, click the File menu, then click Export. Click "Export site manager entries" and then click "OK". Save the file to somewhere you can easily find it, e.g. your default documents folder with a descriptive name and perhaps the date e.g. "FileZillaSites_2018-06-10.txt".

  Note: (This is also a handy way to back up your sites. If you name the file using '.xml' instead of '.txt', you will be able to re-import the file to other installations of the FileZilla client.)

Open the file with a text editor (e.g. Notepad, nano, etc.) and find the password(s) you're looking for.

FileZilla Server - Administrator Password reset for server[edit]

To reset the administrator password for the FileZilla Server, edit the configuration file settings.xml.

If the FileZilla Server service program is running under the SYSTEM user (the default, unless chosen differently at installation time), the file is located here:

   C:\ProgramData\filezilla-server\settings.xml

Within that file, locate the section that looks like this:

       <admin>
               <local_port>14148</local_port>
               <password index="1">
                       <hash>...</hash>
                       <salt>...</salt>
                       <iterations>...</iterations>
               </password>
       </admin>

Remove the entry <password>...</password> and substitute it with <password index="0" />, like below:

       <admin>
               <local_port>14148</local_port>
               <password index="0" />
       </admin>

Then restart the service. Next time you connect with the Administration Interface you won't need any password. As soon as you connect, set a new administration password using the proper configuration pane.