Suppressing FileZilla 3.35.1

donmontalvo
Esteemed Contributor III

(answered my own question...scroll down...thanks to input from the developer Tim Kosse)

--
https://donmontalvo.com
8 REPLIES 8

bpavlov
Honored Contributor

Mozilla is not responsible for FileZilla?

donmontalvo
Esteemed Contributor III

@bpavlov No, its not, I'll fix that...

--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

UPDATE: Reached out to the developer, who pointed us to a slightly outdated KB.

In short, the easiest way to suppress is here /Applications/FileZilla.app/Contents/SharedSupport/fzdefaults.xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<FileZilla3>
    <Settings>
      <Setting name="Disable update check">1</Setting>
    </Settings>
</FileZilla3>

Which removes the "Updates" preference;

e95a374783a74fa3b6ba74f3dcc071c3

1e9cef39584443ec948172b8c5823248

--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

Oh well, lazy Sunday...this might be helpful:

#!/bin/sh
#
# Run this script with using sudo. 20180805 DM

sourceFile="FileZilla_latest_macosx-x86.app.tar.bz2"
downloadUrl="https://download.filezilla-project.org/client/${sourceFile}"
appPath="/Applications/FileZilla.app"

# Set pwd
currentDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd ${currentDir}

# Download source archive
curl --location --remote-name ${downloadUrl}

# Decompress source archive
tar xvjf ${sourceFile}

# Disable updates
cat <<'EOF' > FileZilla.app/Contents/SharedSupport/fzdefaults.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<FileZilla3>
    <Settings>
      <Setting name="Disable update check">1</Setting>
    </Settings>
</FileZilla3>
EOF

# Set ownership and permissions
chown -R root:admin FileZilla.app
chmod 644 FileZilla.app/Contents/SharedSupport/fzdefaults.xml

# Replace old app with new app
if [[ -e ${appPath} ]]; then
    rm -Rf ${appPath}
fi
ditto FileZilla.app ${appPath}

# Create deployable flat package
versionString=$( defaults read "${appPath}"/Contents/Info CFBundleShortVersionString )
pkgbuild --install-location /Applications --component "${appPath}" FileZilla3_"${versionString}".pkg

exit 0
--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

Well...I'm off to rattle this developer's cage again...seems the above only disables the Updates pref, but the app still checks for updates. :(

3755134ab2904a98b49ca350096fa323

301ca814949449f789fd32a3f3d8ead3

--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

Ok I checked with the developer...he doesn't want to deal with this. ¯_(ツ)_/¯

--
https://donmontalvo.com

mark_mahabir
Valued Contributor

And Sophos marks it as a PUA, so I've stopped making it available at my shop.

gilburns_havas
New Contributor

So... This line only disables the visibility of the update section in prefs:

      <Setting name="Disable update check">1</Setting>

 

Add another line to disable the update checking itself: 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<FileZilla3>
    <Settings>
      <Setting name="Disable update check">1</Setting>
      <Setting name="Update Check">0</Setting>
    </Settings>
</FileZilla3>