tis-filezilla icon

FileZilla Client

Paquet d’installation silencieuse pour FileZilla Client

3.67.1-6

  • package: tis-filezilla
  • name: FileZilla Client
  • version: 3.67.1-6
  • categories: Utilities,System and network
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT,Simon FONTENEAU
  • editor: Tim Kosse
  • licence: GPLv2
  • locale: all
  • target_os: windows
  • impacted_process: filezilla,fzputtygen,fzsftp
  • architecture: x86
  • signature_date:
  • size: 12.70 Mo
  • installed_size: 29.04 Mo
  • homepage : https://filezilla-project.org/

package           : tis-filezilla
version           : 3.67.1-6
architecture      : x86
section           : base
priority          : optional
name              : FileZilla Client
categories        : Utilities,System and network
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT,Simon FONTENEAU
description       : FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://filezilla-project.org/download.php?show_all=1
installed_size    : 29036544
impacted_process  : filezilla,fzputtygen,fzsftp
description_fr    : FileZilla Client est un client FTP, FTPS et SFTP multiplateforme rapide et fiable, doté de nombreuses fonctions utiles et d'une interface graphique intuitive
description_pl    : FileZilla Client to szybki i niezawodny, międzyplatformowy klient FTP, FTPS i SFTP z wieloma przydatnymi funkcjami i intuicyjnym graficznym interfejsem użytkownika
description_de    : FileZilla Client ist ein schneller und zuverlässiger plattformübergreifender FTP-, FTPS- und SFTP-Client mit vielen nützlichen Funktionen und einer intuitiven grafischen Benutzeroberfläche
description_es    : FileZilla Client es un cliente FTP, FTPS y SFTP multiplataforma, rápido y fiable, con muchas funciones útiles y una interfaz gráfica de usuario intuitiva
description_pt    : FileZilla Client é um rápido e fiável cliente FTP, FTPS e SFTP com muitas características úteis e uma interface gráfica de utilizador intuitiva
description_it    : FileZilla Client è un client FTP, FTPS e SFTP multipiattaforma, veloce e affidabile, con molte funzioni utili e un'interfaccia grafica intuitiva
description_nl    : FileZilla Client is een snelle en betrouwbare cross-platform FTP, FTPS en SFTP client met veel handige functies en een intuïtieve grafische gebruikersinterface
description_ru    : FileZilla Client - это быстрый и надежный кроссплатформенный FTP, FTPS и SFTP клиент с множеством полезных функций и интуитивно понятным графическим интерфейсом пользователя
audit_schedule    : 
editor            : Tim Kosse
keywords          : ftp,file,zilla,filezilla
licence           : GPLv2
homepage          : https://filezilla-project.org/
package_uuid      : c09bb14e-ced7-4466-873a-e9ca597dac79
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://filezilla-project.org/changelog.php
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 0f090aaabe4a844a718492ceb583ed9cb54b8ca8d4ca02a456becf46a6e1620d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : F3YGK9/GopUB0ShamkddibH8ud5u6GSS+w2iUbRBarAaTQ13qqtrObRq5Bgjg90X6CH0fSH7NRB5ZcjEzl0UZGD+GdM094X6X/I3ApZ2vj/fMgQFzvsYXfcHaF1Qa9I0qvLdc3QId6+BRqMc+cwpzOC9Hci+OLz3XzrkA9CcR9P9o4fY4ScdaC/Ha2yaP3oumy3sabIFCMIAWHf5JEjLeaHa9L+0CcNKwM12G9T0AZtmhg29mjWCt0V7Xfp2HnzWQ7GLuORUOWp+VecZlbggf81D4mktXzMMcKuQRwUhEzrOJfEYEVd3p6o1Vvol4LwyQZae2RtPlZui7OUBThQWlQ==
signature_date    : 2024-07-17T09:00:09.101446
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("FileZilla_*.exe")[0]
    install_exe_if_needed(bin_name, silentflags="/S", key="FileZilla Client", min_version=control.get_software_version())


def session_setup():
    print("Disabling: update check")
    # C:\Users\username\AppData\Roaming\FileZilla\filezilla.xml
    user_conf_dir = makepath(application_data, "FileZilla")
    user_conf_file = makepath(user_conf_dir, "filezilla.xml")
    user_conf_content = r"""<FileZilla3 platform="windows" version="">
	<Settings>
		<Setting name="Update Check">0</Setting>
	</Settings>
</FileZilla3>"""

    if not isdir(user_conf_dir):
        mkdirs(user_conf_dir)

    if not isfile(user_conf_file):
        file_open = open(user_conf_file, "w")
        file_open.write(user_conf_content)
        file_open.close()

    else:
        import xml.etree.ElementTree as ET

        user_conf_tree = ET.parse(user_conf_file)
        user_conf_content = user_conf_tree.getroot()

        for conf in user_conf_content.iter("Settings"):
            for children in conf.getchildren():
                if children.get("name") == "Update Check":
                    children.text = "0"
                    user_conf_tree.write(user_conf_file, encoding="utf-8")

# -*- coding: utf-8 -*-
from setuphelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://filezilla-project.org/download.php?show_all=1"
    dict_arch_name = {"x64": "_win64-setup.exe", "x86": "_win32-setup.exe"}

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(
        url, "a", "rel", "nofollow", user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0", proxies=proxies
    ):
        if dict_arch_name[control.architecture] in bs_search.text:
            latest_bin = bs_search.text
            version = latest_bin.split("_")[1]
            download_url = bs_search["href"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return package_updated

0219b0302855609875cad4d2f8a36669e839cd2ca663c3bcf2dee07d905935a7 : setup.py
a4da9addf0fe54f6df6426771f9cdcff0c905e85313358b8ac6fbef6e538d14c : update_package.py
0f090aaabe4a844a718492ceb583ed9cb54b8ca8d4ca02a456becf46a6e1620d : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
8b2b4c5a285647116075b6cd9bffd9c5f836d2c8a6a5ace1442d6f6e3204a70b : luti.json
612dffed318a9c1ca79e17c413671fcbb296c377c8209606f516a7e7b5357774 : FileZilla_3.67.1_win32-setup.exe
6e6ac8d9641b1519f17c3bf6aaa2ded107cea7ef18afb47c4b586cfb36461381 : WAPT/control