|
|
Subscribe / Log in / New account

FTP

FTP

Posted Feb 21, 2023 12:40 UTC (Tue) by mbunkus (subscriber, #87248)
In reply to: FTP by skissane
Parent article: GDB 13.1 released

FTP _is_ fundamentally broken:

• Directory listings are the output of "ls". Have you ever tried having files owned by users or groups with spaces in them? Say… "Domain Users". Clients fall flat on their face trying to parse the output as they have to split fields by whitespace, which obviously fails with such user & group names.
• FTPS is even more broken (assuming you mean encrypting the control connection, too, not just the data connection). With FTPS you can only use the passive mode, and your server must not be behind any kind of NAT. Why? Because no firewall device can parse the encrypted control connection & can therefore not determine the dynamically-allocated port numbers the server & client use.

Sure, you can use it in certain circumstances, but it's not a general-purpose solution.


to post comments

FTP

Posted Feb 22, 2023 7:59 UTC (Wed) by epa (subscriber, #39769) [Link]

To be fair, directory listings in http are even more broken. Typically the server will send an HTML page listing the files, which you have to parse somehow.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds