rclone/backend/ftp
Lesmiscore 785c6d5ab6 ftp: fix 426 errors on downloads with vsftpd
Sometimes vsftpd returns a 426 error when closing the stream even when
all the data has been transferred successfully. This is some TLS
protocol mismatch.

Rclone has code to deal with this already, but the error returned from
Close was wrapped in a multierror so the detection didn't work.

This properly extract `textproto.Error` from the errors returned by
`github.com/jlaffaye/ftp` in all the cases.

See: https://forum.rclone.org/t/vsftpd-vs-rclone-part-2/36774
2023-03-16 09:36:05 +00:00
..
ftp.go ftp: fix 426 errors on downloads with vsftpd 2023-03-16 09:36:05 +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