tis-filezilla icon

FileZilla Client

Paquet d’installation silencieuse pour FileZilla Client

3.69.3-7

  • package: tis-filezilla
  • name: FileZilla Client
  • version: 3.69.3-7
  • 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: x64
  • signature_date:
  • size: 12.44 Mo
  • installed_size: 29.04 Mo
  • homepage : https://filezilla-project.org/

package           : tis-filezilla
version           : 3.69.3-7
architecture      : x64
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      : 879fec1c-ccff-4d13-a8f9-2fbeff1cf305
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_date    : 2025-08-05T15:04:20.000000
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
signature         : ajFCbIL8QiVdWbbTY6BxZdPqay7iL534INxJfYMO7iartA4jMVGmekHCp5g5r2oT+o9lzgjVti3gnqPyisnbwWTYl0mcvkOT7LTS/HN5ux6BiHuBJuupWe8UGhQZnx0+ySV8OHNJhe+Ha4Yw/B5/7R2/FHTE23ZdascGVJtIu/5U9192gpaiwjpX87Ffs349ptXsSHoVssHnmkMvRrxf/nqDH5ERIR6i7SQmcDh/FcS4eHhmDfU8EaUkjoo+Jc6mcbsooPDWryOrhEAOaKtLfJBMGutpiHvV71kr+7yyt60vk0s9QHQHGllK8AcREQxwnsI0ONfmKsMmpzWNW8qmAA==

# -*- 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 -*-
import base64
from setuphelpers import *
from setupdevhelpers import *
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend

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"}

    content = requests.get(url, proxies=proxies, headers={
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0", 
        'Referer': 'https://filezilla-project.org/download.php'
    }).text

    contentwrapper = bs_find(content, 'div', 'id', 'contentwrapper')
    iv = base64.b64decode(contentwrapper.get('v1'))
    key = base64.b64decode(contentwrapper.get('v2'))
    # algo = base64.b64decode(contentwrapper.get('v3')).decode("utf-8")
    ciphertext = base64.b64decode(contentwrapper.get_text())

    cipher = Cipher(algorithms.AES(key), modes.CBC(iv), backend=default_backend())
    decryptor = cipher.decryptor()
    decrypted = decryptor.update(ciphertext) + decryptor.finalize()
    padding_length = decrypted[-1]
    plaintext = decrypted[:-padding_length].decode('utf-8')

    # Getting latest version from official sources
    print(f"URL used is: {url}")
    for bs_search in bs_find_all(plaintext, "a", "rel", "nofollow"):
        if dict_arch_name[control.architecture] in bs_search.get_text():
            latest_bin = bs_search.get_text()
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            version = latest_bin.split("_")[1]
            download_url = bs_search["href"]
            break

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

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

e87b878746e62c7d16ff04723199ec0ecbbea6680a814c4508b18b8b41ddcdad : FileZilla_3.69.3_win64-setup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dadde1892827199aaecbd4b808f1925c6cd70e426a4b782a49c830af544ed650 : WAPT/control
0f090aaabe4a844a718492ceb583ed9cb54b8ca8d4ca02a456becf46a6e1620d : WAPT/icon.png
bf945ad363b70254f3ac2d63aef9175dfebf7f49c0a98bdcb2c067f4f6d7f399 : luti.json
9f3e8bd1ff0f75f99ac3d0b6f2a47ea3443d479cdcd4c0d2efef693e727ebca7 : setup.py
da5cb8ccdda0d4708cef66fa23d181810c535a7061f8f18692856b37337d7fba : update_package.py