FileZilla Connection Profile Distribution

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
MrBurritoman
504 Command not implemented
Posts: 8
Joined: 2012-01-24 00:43
First name: MrBurrito
Last name: Man

FileZilla Connection Profile Distribution

#1 Post by MrBurritoman » 2012-01-24 01:08

Hello,

I am a consultant for a large company that likes using FileZilla however I am wondering if there is a better way to distribute new connection profiles rather than manually setting them up.

Are the connection profiles saved in a file, or registry entry?

If so where are they stored?

With that information I can write Group Policy ADM plugins to manage the connection profiles based on Group Membership or OU Placement.

Thanks!

User avatar
botg
Site Admin
Posts: 33309
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: FileZilla Connection Profile Distribution

#2 Post by botg » 2012-01-24 08:26

Have a look at fzdefaults.xml.example in FileZilla's program directory. You can use it to have pre-configured sites amongst other things.

MrBurritoman
504 Command not implemented
Posts: 8
Joined: 2012-01-24 00:43
First name: MrBurrito
Last name: Man

Re: FileZilla Connection Profile Distribution

#3 Post by MrBurritoman » 2012-01-24 19:25

Just tried to use:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<FileZilla3>
    <Settings>
      <Setting name="Kiosk mode">0</Setting>
      <Setting name="Disable update check">0</Setting>
    </Settings>
    <Servers>
        <Server>
            <Host>ftp.test.com</Host>
            <Port>21</Port>
            <Protocol>0</Protocol>
            <Type>0</Type>
            <Logontype>1</Logontype>
            <User>testman</User>
            <Pass>1234</Pass>
            <TimezoneOffset>0</TimezoneOffset>
            <PasvMode>MODE_DEFAULT</PasvMode>
            <MaximumMultipleConnections>0</MaximumMultipleConnections>
            <EncodingType>Auto</EncodingType>
            <Comments>Do NOT Change ME!</Comments>
            <LocalDir></LocalDir>
            <RemoteDir></RemoteDir>
        </Server>
    </Servers>
</FileZilla3>
I am not getting this dummy entry to appear in the site manager. Is there a problem with the code?

The attached file is a screen shot of the site manager after closing and re-opening when i save the XML document in the same directory as filezilla.exe. The blacked out portion is an existing entry.
Attachments
FileZilla-Predef-Sites.jpg
FileZilla-Predef-Sites.jpg (65.73 KiB) Viewed 6802 times

User avatar
boco
Contributor
Posts: 25386
Joined: 2006-05-01 03:28
Location: Germany

Re: FileZilla Connection Profile Distribution

#4 Post by boco » 2012-01-24 19:41

Is there a problem with the code?
Yes, you didn't provide a name for the entry.

Add to the end of the last line (example name):

<RemoteDir></RemoteDir>Test server

The entry will become visible then.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

MrBurritoman
504 Command not implemented
Posts: 8
Joined: 2012-01-24 00:43
First name: MrBurrito
Last name: Man

Re: FileZilla Connection Profile Distribution

#5 Post by MrBurritoman » 2012-01-24 19:45

Ok, that is working. Now on to my next question. How do I remove the "My Sites" entries?

I want to make sure that the users site entries are cleaned up if I ever have to globally "Change" anything.

Thanks for the information so far!

[EDIT]
Looks like there is a built-in function to do this. Is there any way to trigger the "Clear private data" using the xml configuration file?
[/EDIT]

MrBurritoman
504 Command not implemented
Posts: 8
Joined: 2012-01-24 00:43
First name: MrBurrito
Last name: Man

Re: FileZilla Connection Profile Distribution

#6 Post by MrBurritoman » 2012-01-25 01:34

Ok, I dug into this and discovered the xml file with the user-dependant connection profiles.

For anyone else it is stored in the c:\users\%username%\roaming\filezilla\ (or C:\Documents and Settings\%username%\Application Data\FileZilla) folder as sitemanager.xml.

Post Reply