Difference between revisions of "Password reset"

From FileZilla Wiki
Jump to navigationJump to search
m (Reverted edits by 23.84.78.47 (talk) to last revision by CodeSquid)
Tag: Rollback
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 ASCII file settings.xml, usually located here:
  
     C:\Users\{username}\AppData\Roaming\FileZilla Server\            (Windows 10)
+
     C:\Windows\System32\config\systemprofile\AppData\Local\filezilla-server           (until v1.4.1)
  
The typical contents of this file:
+
Within that file, locate the section that looks like this:
         <FileZillaServer>
+
         <!--Administration options.-->
            <Settings>
+
        <admin>
                 <Item name="User Sorting" type="numeric">0</Item>
+
                 <local_port>14148</local_port>
                 <Item name="Last Server Address" type="string">localhost</Item>
+
                 <password index="1">
                <Item name="Last Server Port" type="numeric">14147</Item>
+
                        <hash>...</hash>
                <Item name="Last Server Password" type="string">''{your password here}''</Item>
+
                        <salt>...</salt>
                 <Item name="Always use last server" type="numeric">0</Item>
+
                        <iterations>...</iterations>
            </Settings>
+
                 </password>
         </FileZillaServer>
+
                <!-- Other stuff here... -->
 +
         </admin>
  
Edit the line "<Item name="Last Server Password" type="string">''{your password here}''</Item>", replacing ''{your password here}'' with the new password.
+
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.

Revision as of 00:41, 2 July 2022

FileZilla Client - Recover lost passwords for sites

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

To reset the administrator password for the FileZilla Server, edit the ASCII file settings.xml, usually located here:

   C:\Windows\System32\config\systemprofile\AppData\Local\filezilla-server            (until v1.4.1)

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.