-
Notifications
You must be signed in to change notification settings - Fork 35
FTP LIST command
Nicolas Ramz edited this page Feb 15, 2019
·
1 revision
FTP has several RFC: each one introduces new commands to compensate with previous broken or limited commands.
The LIST command has several problems. For example some (most?) servers do not seem to support LIST path
with a path that contains a space. Most clients set the path using CWD path
and then call LIST
instead or better, use the MSLD
command which was introduced in RFC 3659 and doesn't appear to have such problem.
Since node-ftp which we use for react-ftp only supports the LIST
command we cannot use MSLD
so have to stick to the CWD hack. This can be a problem since we don't always want to change the CWD: for example when constructing the file list for a batch.