Transfer, list and stat files against a real FTP server without desynchronising the control channel

This commit is contained in:
Danny Kim
2026-09-25 15:46:38 +09:00
parent e3adbf0462
commit 3febf5530e
8 changed files with 462 additions and 122 deletions
+4 -3
View File
@@ -14,9 +14,10 @@ One provider, `ftp`, for the `ftp` and `ftps` schemes. A connection is
configured with a server name, an optional port, a TLS toggle for FTPS, and an
optional username and password. An empty username signs in anonymously.
Listing needs a server that answers `MLSD`, the machine-readable listing
command. A server without it reports the folder as unsupported rather than
guessing at the older, human-formatted listing. FTP carries no version token,
Listing and stat need a server that answers `MLSD` and `MLST`, the
machine-readable listing commands. A server without them reports the folder as
unsupported rather than guessing at the older, human-formatted listing or
changing its working directory to find out. FTP carries no version token,
so a conditional write is reported as unsupported rather than simulated.
## Passive mode and the port range