Do not drop FTP support
-
It looks like chromium will drop FTP support. I'd ask vivaldi to instead keep support for ftp and consider adding support for ftps as well.
-
@jumpsq I agree - if Chromium does disable it by default, I hope Vivaldi keeps support of it. FTP is still part of the basic internet protocols.
For now the flag
chrome://flags/#enable-ftp
is by default Enabled and FTP URLs work. But of course this might change without warning in future builds, which is usually how they do this stuff - first add a flag, then add a "group policy", then remove it, and in the end remove the flag as well, so only the policy works... -
@Pathduck said in Do not drop FTP support:
#enable-ftp
I don't find that in my Vivaldi...
Actually I never realized Vivaldi did ftp!! First try failed with:
This site can’t be reached
The webpage at ftp://10.1.1.6/ might be temporarily down or it may have moved permanently to a new web address.ERR_FTP_COMMAND_NOT_SUPPORTED
Which sounded relevant to this topic... But that's my quirky solar controller which manages to fail with most ftp apps. Still, why does it say the command is not supported? I could see connection not supported... If they mean some particular ftp protocol is not supported, maybe they could give a hint?
Works perfectly on a standard Ubuntu host.
-
@LorenAmelang The flag is in Snapshot only, as this is based on Chromium 80 (Stable is 79).
Here's an FTP URL to try, it should work (for now...)
ftp://ftp.sunet.se/Not sure about that error from your FTP, most likely a non-standard FTP server response..?
-
I meant Vivaldi can do ftp to the Ubuntu host - no problem. The solar controller is a total disaster, hardly anything can talk to it. Sometimes Cyberduck works, usually it is faster to walk out to the power shed and grab the uSD out of it.
-
This has been in the works since August. Why do you guys want FTP support in Vivaldi? If you need to connect to an FTP server, there are far better ways than using a web browser. Neither Chrome nor Vivaldi currently ny implementation would have to be from scratch.
This seems to be very significant feature creep. It's highly unlikely that any web browser will ever have as good a product for FTP compared to dedicated clients, so the implemention would end up being a substandard FTP client and simultaneously draw resources away from an already small team, hindering development of the web browser and making it less than it would be otherwise.
Additionally it also increases the attack surface in Vivaldi, creating potentially serious vulnerabilities in the browser for functionality that will get very little use. This is a risk that, IMO, greatly outweighs any perceived benefits of including FTP support beyond its deprecation upstream.
FTP is older than the internet, 50 years old next year, and was not designed to be secure. Really you're better off not using it at all, but if one has to (and I still have to sometimes) it's best to use an FTP client instead of a web browser. There are quality FOSS applications available for every common platform. These apps provide a better experience than could be achieved in Vivaldi.
@Pathduck said in Do not drop FTP support:
FTP is still part of the basic internet protocols.
So are Gopher, SNMP, SMTP, IMAP, POP3, XMPP and several other application protocols that are not supported by Vivaldi. This is not a compelling reason to include it in a web browser.
Combine all this with the FTP use numbers Chrome found (~ 1 *hundredth* of a percent over 28 days) and one would reasonably conclude that users are best served by the eventual removal of FTP from Vivaldi Browser.
Edit: typos
-
This post is deleted! -
But I agree with others - any external client is way more useful than the insecure read-only single-protocol support of Chromium.
-
@bonetone "Why do you guys want FTP support in Vivaldi?"
I use Vivaldi as my main browser, on desktop and Android. I access FTP websites all the time, primarily for a small fileserver I have in my house. It's not accessible to the outside internet, and it runs from Windows 10, so SFTP or FTPS are not really viable options. Also, it's nice to be able to click on a video on an FTP site and watch the video from within the browser, instead of downloading the whole file from an FTP client, then watching it while it is stored locally, then deleting it later. This is especially important to me on Android, as I have had no luck setting up FTP in a dedicated app, and even if I could, again I would have to download the whole file first. FTP is incredibly important to me as a user, and it makes no sense to spend time removing it. I completely understand that it is not secure but FTP is still widely used.
As for the point about less than one hundredth of Chrome users accessing FTP, that's still a lot of people. Google Chrome has approximately 65% to 67% of the entire browser market share. 3.4 billion people in the world have access to the internet, and over three years ago Chrome announced they had 2 billion users. This figure lines up with the expected 65% of 3.4 billion. However, the 0.01% figure you cited is incorrect. In the document linked by @madiso Google reports that 0.1% of desktop Windows Chrome users actually accessed FTP, and that's over a much shorter period of one week! So, do the math: 3.4 billion internet users worldwide, 45% of which is on a desktop, and 70% of that is from Chrome. That's a billion desktop Chrome users, of which at least 0.1% use FTP every week. That's 104.7 million FTP users, and that's still a conservative estimate. Add figures from other browsers, or take into account that the kinds of people who actually use a browser besides Chrome or Firefox are likely far more tech-savvy, and therefore are far more likely to use FTP, and you start to understand why it makes no sense to drop support for this. I don't care if it's disabled by default, or if it's deep within the vivaldi://flags page, but if FTP support is completely dropped from Vivaldi, I'll have to re-evaluate my use of the browser, which is not something I want to have to do.
-
@danfiscus I absolute agree with your very well argued points. I also really hope Vivaldi will keep supporting the FTP protocol, simply because it's always been a part of the browsers I use, and I've come to rely on it being available when I need it.
Just a small correction; 0.1% of a billion is a million, not hundred million
And knowing Google and the numbers they deal with, a million is nothing, zilch, nada, they couldn't care less about us... unfortunately -
@danfiscus I'm with you. I'd like to see FTP support kept, as well.
-
So, just to clarify a couple things before addressing the numbers… other readers can skim down to the third section (3 horizontal rules) if they don't want to read about streaming videos on your local network and get to the part relevant to this feature request.
@danfiscus said in Do not drop FTP support:
I access FTP websites all the time, primarily for a small fileserver I have in my house. It's not accessible to the outside internet, and it runs from Windows 10, so SFTP or FTPS are not really viable options.
Briefly, FTP isn't a World Wide Web protocol, HTTP was created to get past its shortcomings and its incompatibility with the web's paradigm. FTP was never designed to be secure, so a few decades later they slapped FTPS on it to get a bare minimum of security. With FTP everything is sent in the clear, including usernames and passwords. SFTP is an unrelated protocol that has no interoperability with FTP. Ironically, SFTP actually doesn't do any encryption or authentication. It is intended to be used as a subsystem on an already secure data stream like SSH, for which it was designed. Windows is capable of running an FTPS server or an SSH server, so not sure why they aren't viable, however there are better ways for watching your videos, see the next section.
it's nice to be able to click on a video on an FTP site and watch the video from within the browser, instead of downloading the whole file from an FTP client, then watching it while it is stored locally, then deleting it later. This is especially important to me on Android, as I have had no luck setting up FTP in a dedicated app, and even if I could, again I would have to download the whole file first.
Might I suggest you look into things like Plex and Kodi? I use both of them for the exact use cases you describe, minus the FTP protocol. Since it's your local network, you can easily access them over SMB and end up with a richer and more flexible experience. It's so simple yet so useful that I've even got my sexagenarian parents using it.
Even if you don't want to use those specific solutions for some reason, I'd still recommend dropping the FTP server and use SMB/Samba instead. Accessing the server like that, you can play the videos directly from the file share in VLC. One thing that makes this vastly superior to the FTP server is being able to start the video wherever you want. Using FTP, you have to sit around and wait for it download all of the video content you want to skip until you've finally gotten to the point where you want to start. With the file share, you just jump to the timecode you want, there is a brief delay while VLC fills the buffer to whatever you have it set for (and possibly also while the server's hard disks spin up) and then starts playing.
Any of these solutions is a much better way to watch video than using FTP. If you want more info, have any questions, need some help or want a little guidance on setting that up, shoot me a PM. I run 3 HTPCs in our house, all pulling video from a common 5 HDD array on the network, with an antenna hidden behind the blinds in the window that goes to a 4-way TV tuner which is connected to the network --- that allows all 3 HTPCs to watch a different OTA channel while also recording a 4th to DVR. I can stream the video to our phones as well. I've got Kodi, Plex and VLC on my phone, though to be honest I rarely watch video on it. Mostly I use the phone as a Kodi remote control for the TVs, and sometimes to do some admin work on the Plex server.
And now the numbers and this feature request...
However, the 0.01% figure you cited is incorrect. In the document linked by @madiso Google reports that 0.1% of desktop Windows Chrome users actually accessed FTP, and that's over a much shorter period of one week!
Yeah, I pulled my 0.01% from that study (although I was reading discussions about it elsewhere such as the bug report for this issue). I cited that number instead of the 0.1% because it is more accurate. The 0.1% is only for 1 sku of Chrome on 1 platform over the course of only 1 week. That's not even all Windows users, let alone all desktop users. The 0.01% is all platforms over the course of 28 days. It's similar to a batter on a "hot streak" in baseball -- over a week or two, or even three, they might be getting a hit every game and have a very high batting average over that time period. But a couple more months later, his batting average has fallen closer to what you'd expect him to be hitting. It's a phenomenon sometimes called regression towards the mean, the more data you collect over a greater timeframe the closer the sample's average should be to the true mean. There's even discussion that the percentage should continue to fall if data were collected over a longer period, perhaps a year.
Furthermore, the percentage of TLDs accessed over that same time period was a measly 0.0008%, that corresponds to people who did a directory listing, as you would do when logging into the FTP server intentionally, rather than having a subresource of the page you're viewing load over FTP. It would also include people who clicked a link that took them to a directory on an FTP server, but we have no way to separate out those from the people who are purposefully accessing an FTP server and initiating the connection themselves.
So most of the people who are "using" FTP in the browser are most likely unaware that they are doing so. They be just as unaware when Chrome no longer supports FTP and the website owners update their pages to serve those resources over a more secure protocol, as they should have done many years ago. Some of the remaining minority who were using the browser as an FTP client will switch to using an actual FTP client, and some will probably install the extension.
I could continue here and calculate the number of FTP users that would likely be effected by Vivaldi's removal of FTP, but instead I'll just quickly ballpark by pointing out a few corrections to the math. First, there's what XXXYYYZZZ pointed out, that your result was 2 orders of magnitude too large, and then also point out that Vivaldi doesn't have 1 billion users, they have 1.2 million that's 3 orders of magnitude less than Chrome. Then there's another order of magnitude if we're use the more accurate 0.1% or 3 orders of magnitude if we use the percentage of users who are intentionally using FTP. So we can use 6 orders of magnitude as an upper bound, which brings the 100,000,000 down to 100 users. We're probably losing accuracy going smaller, but let's consider than about half the total users of Vivaldi are community members.
Now, even though the 0.01% is more accurate for Chrome's user base, I am more than willing to concede that it is not entire applicable to Vivaldi, and sure, let's use your number instead, multiplying the result by 10 to get 1,000. Most of those users will be "using" FTP just by surfing the web and having a page load an image or a video over FTP. That's should all be fixed, and those users will be none-the-wiser. For the minority that are actually navigating FTP servers with the browser, some will take the opportunity to switch to a proper FTP client, Filezilla is a decent FOSS option available on all the desktop platforms that Vivaldi is. On Android I recommend Solid Explorer's FTP extension, it makes transferring files between the phone and server so easy. Some of them may feel uncomfortable with a new installation, and they will use the extension that will be available to enable FTP in the browser.
Now, let's consider the impact to Vivaldi's small team. Currently, FTP code is upstream. To drop native support for FTP and end up with a more secure browser because of it, they have to do nothing. To maintain FTP support, or even enhance it to include FTPS, would require that they backport the code that is eliminated, and then write their own code for FTPS.
It just doesn't make sense take resources away from the rest of the browser to implement a feature that can be had by installing an extension for a few hundred users (if that many) while increasing the attack surface of the browser and stealing time away from more important features.
So that's my argument for why this isn't a good idea. If you want any tips or guidance with Kodi, Plex, VLC, SMB, etc. for watching your videos from your server, send me a PM, er it's called chat in this forum. I'm happy to lend a hand; I've done the same for numerous people with similar setups and guided them on how to take advantage of some of the unique scenarios it enables.
-
Thinking through this again, what if Vivaldi removed the FTP support that is provided by Google and added a new file viewer that supports FTPS, SFTP, SSH and BitTorrent? The latter would align with Opera 12, where torrents were directly supported. And yes, I didn't forget FTP, that is still insecure and should not be promoted anymore.
-
@madiso It would be great to have built-in support for these protocols. But I wouldn't have high hopes for it happening any time soon. It would be a lot of work to implement clients for them.
As for FTP, I still think it has relevance. Several game publishers still use FTP links for downloads of patches and so on. They would have to implement their servers as HTTP instead and not everyone has the resources to do this, no matter what the Silicon Valley types with their pockets full of $$$ think.
-
@Pathduck said in Do not drop FTP support:
As for FTP, I still think it has relevance. Several game publishers still use FTP links for downloads of patches and so on. They would have to implement their servers as HTTP instead and not everyone has the resources to do this, no matter what the Silicon Valley types with their pockets full of $$$ think.
Well, Google wouldn't kill the standard either way. When you talk about patches, it sounds like something implemented within the game or game launcher itself, not something that's user facing. Similarly HTTP is still widely used in APT (disclaimer: I do not agree with that reasoning), the Debian package manager, but user-facing webpages should not use it nowadays.
Don't forget that insecure downloads overall will also get deprecated soon in Chromium
-
@Gwen-Dragon said in Do not drop FTP support:
FTP support is not dropped, i checked it in internal 3.6.2175.* daily version and 3.5 Stable and 3.6 Snapshot.
It's even reactivated in latest Chromium Dev' 90.0.4404.0 (without any flags change or switch to run browser)
FTP will perhaps be deprecated later : https://bugs.chromium.org/p/chromium/issues/detail?id=333943#c43
-
I've just upgraded to Vivaldi 4.1.2369.11 (Stable channel) stable (64-bit) and it's not even settable in the vivaldi://flags area!
-
@cmulloy Open
chrome://flags/#temporary-unexpire-flags-m91
, set to Enable and restart, openchrome://flags/#enable-ftp
, set to Enable and restart.
May work some while. -
@doctorg said in Do not drop FTP support:
chrome://flags/#temporary-unexpire-flags-m91
Thanks doctorg for that Tip! I'll try it out!
Although I'm having another issue with passwords not being saved which unfortunately may push me back to using Firefox -
The ftp flags do not exist anymore in 4.3 Stable.
FTP support is dead now on Vivaldi 4.3 and 4.4 :rip: