Auto update

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
zyx360
500 Command not understood
Posts: 3
Joined: 2023-10-20 11:48

Auto update

#1 Post by zyx360 » 2023-10-20 11:52

Hi,
I'm a filezilla pro user, thanks for the awesome client ;)
Just wanted to check, is there a way to submit a feature request?
I think it would be a great option if you can choose to install updates automatically in the background, instead checking/of going through an update each time the client starts.
Thanks
Zyx

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

Re: Auto update

#2 Post by botg » 2023-10-20 13:34

Such background updaters are surprisingly tricky, very easy to accidentally create a gaping security hole. And the updater too needs to be updated as well... The main challenge is Windows itself, files in use cannot be overwritten. Try deleting filezilla.exe while it is running.

Please note that our dedicated customer support forums are located at https://customerforum.filezilla-project.org/

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

Re: Auto update

#3 Post by boco » 2023-10-20 15:02

How about a small maintenance service that's updating FileZilla while it's NOT running?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

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

Re: Auto update

#4 Post by botg » 2023-10-20 17:42

My previous statement still holds.

zyx360
500 Command not understood
Posts: 3
Joined: 2023-10-20 11:48

Re: Auto update

#5 Post by zyx360 » 2023-10-20 17:54

Not saying it should be the default, but it would be a nice feature.
Not a real argument but a lot of other tools do offer this feature, for me personally the tradeoff is worth not having to go through those screens upon filezilla startup.

-Peter

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

Re: Auto update

#6 Post by botg » 2023-10-20 23:58

Even outside of spooktober, the thought of implementing a background update service gives me the heebie-jeebies. You see it from an above perspective, how it could benefit you. But I see it from the opposite end: The nitty-gritty details, the myriad things how it could could go horribly wrong.

With the current approach, there is always a privileged user in the loop:
  • Has the privileges to run the update (either local install, or member of administrator group)
  • Sees the UAC prompt, and can reject it, e.g. due to lack of signature. Yes, Windows to this day does not have an API to say "Only run/load signed binaries" [1]. While there is some flag to require signatures by Microsoft, we are obviously not Microsoft. Even the most inexperienced user in this regard has more insight into the authenticity of programs, and thus control over what programs to run, than even the most skilled developers.
  • If things go wrong, by virtue of being the privileged user, the user can recover from failure. In case of automated failures, non-privileged users would be utterly locked out.


[1] Counter-argument: Apple is the other extreme. It's insanely difficult to run things not approved by Apple. What we lack is a reasonable middle-ground.

zyx360
500 Command not understood
Posts: 3
Joined: 2023-10-20 11:48

Re: Auto update

#7 Post by zyx360 » 2023-10-21 09:53

That sounds reasonable.
I think the point i was trying to make (without writing it correctly) was more like an complimentary approach to update the app.
I see tools like thunderbird, firefox, chrome, vscode, etc all offer this feature.
And by complimenting it to the current options your really empowering the user to make the choice individually, whatever works for them so to speak.

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

Re: Auto update

#8 Post by boco » 2023-10-21 17:47

How about offering the choice to do the update when FileZilla closes (update deferring)? Of course, blocked if important security are involved.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply