Firefox Developers
The reason for discontinuing support for FTP is the insecurity of this protocol from modification and interception of transit traffic during MITM attacks. According to Firefox developers, in modern conditions there is no reason to use FTP instead of HTTPS to download resources. Additionally, Firefox's FTP support code is very old, poses maintenance challenges, and has a history of revealing a large number of vulnerabilities in the past. For those who need FTP support, it is suggested to use external applications attached as handlers for the ftp:// URL, similar to how irc:// or tg:// handlers are used.
Let us recall that earlier in Firefox 61, downloading resources via FTP from pages opened via HTTP/HTTPS was already prohibited, and in Firefox 70, rendering of the contents of files downloaded via ftp was stopped (for example, when opening via ftp, images, README and html files, and a dialog for downloading the file to disk immediately began to appear). In Chrome also
Source: opennet.ru