rclone/backend/ftp
Anthony Pessy 1628ca0d46
ftp: Improve performance to speed up --files-from and NewObject
This commit uses the MLST command (where available) to get the status
for single files rather than listing the parent directory and looking
for the file. This makes actions such as using `--files-from` much quicker.

* use getEntry to lookup remote files when supported
*  findItem now expects the full path directly

It makes the expected argument similar to the getInfo method, the
difference now is that one is returning a FileInfo whereas
the other is returning an ftp Entry.

Fixes #6225

Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2022-12-05 16:19:04 +00:00
..
ftp_internal_test.go ftp: increase timeouts on tests as they were failing locally 2022-09-19 19:45:52 +01:00
ftp_test.go ftp: enable CI for ProFtpd, PureFtpd, VsFtpd 2021-10-01 10:09:57 +03:00
ftp.go ftp: Improve performance to speed up --files-from and NewObject 2022-12-05 16:19:04 +00:00