You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nicolas Ramz edited this page Feb 15, 2019
·
1 revision
Intro
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.