1
mirror of https://github.com/rclone/rclone synced 2024-12-25 17:03:45 +01:00
rclone/backend
Nick Craig-Wood 7d70eb0346 ftp: attempt to work-around pureftp sending spurious 150 messages
pureftpd has a bug where it sends messages like this

```
    150-Accepted data connection\r\n
        Response code: File status okay; about to open data connection (150)
        Response arg: Accepted data connection
    150 32768.0 kbytes to download\r\n
    150 0.014 seconds (measured here), 1665.27 Mbytes per second\r\n
```

The last `150` is treated as a new response - the previous `150` should have been `150-`.

This means that rclone sees the `150 0.014 seconds (measured here),
1665.27 Mbytes per second` as a reply to the next message and reports
it as an error.

This fix ignores that specific message when it is received in the
`Close` method. It dumps the FTP connection after as it is out of
sync.

See: #3984
Fixes #3445
2020-03-01 09:17:51 +00:00
..
alias build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
all The memory backend 2020-01-18 10:41:08 +00:00
amazonclouddrive backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
azureblob backend/azureblob: fmt nit 2020-02-20 15:50:53 +01:00
b2 backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
box backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
cache cache: disable race tests until bbolt is fixed 2020-02-27 08:05:28 +00:00
chunker chunker: reduce length of temporary suffix 2019-12-09 16:56:32 +00:00
crypt crypt: clarify that directory_name_encryption depends on filename_encryption 2020-02-28 16:26:45 +00:00
drive drive: hide dangerous config from the configurator 2020-01-31 10:09:33 +00:00
dropbox dropbox: treat insufficient_space errors as non retriable errors 2020-01-18 11:10:18 +00:00
fichier backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
ftp ftp: attempt to work-around pureftp sending spurious 150 messages 2020-03-01 09:17:51 +00:00
googlecloudstorage backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
googlephotos operations: make NewOverrideObjectInfo public and factor uses 2020-01-18 11:41:33 +00:00
http http: fix race introduced in 7982aaf151 2019-09-14 08:48:13 +01:00
hubic Add context to all http.NewRequest #3257 2019-09-09 23:27:07 +01:00
jottacloud jottacloud: use RawURLEncoding when decoding base64 encoded login token - fixes #3945 2020-02-22 23:12:56 +01:00
koofr backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
local backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
mailru backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
mega backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
memory The memory backend 2020-01-18 10:41:08 +00:00
onedrive onedrive: fix occasional 416 errors on multipart uploads 2020-02-01 21:15:07 +00:00
opendrive opendrive: implement --opendrive-chunk-size #3707 2020-01-18 11:56:01 +00:00
pcloud backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
premiumizeme backend/premiumizeme: prune unused functions 2020-02-11 12:17:35 +00:00
putio backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
qingstor backend/qingstor: lint fix 2020-02-14 18:11:01 +00:00
s3 backend/s3: fix multipart abort context 2020-02-25 12:11:32 +01:00
sftp build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
sharefile backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
sugarsync sugarsync: new backend - fixes #622 2020-01-17 17:39:34 +00:00
swift swift: Update OVH API endpoint - Fixes #3890 2020-01-24 17:43:00 +00:00
union docs: make the config walkthroughs consistent for each backend 2019-08-26 10:47:17 +01:00
webdav webdav: Fix X-OC-Mtime header for Transip compatibility - fixes #3126 2020-02-10 11:57:12 +00:00
yandex backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00