# Corrupt sync with correct file size / mod time (ftp remote, error 450)

**URL:** <https://forum.rclone.org/t/corrupt-sync-with-correct-file-size-mod-time-ftp-remote-error-450/21456>\
**Category:** Suspected Bug\
**Created:** [January 4, 2021, 6:53am UTC](https://forum.rclone.org/t/corrupt-sync-with-correct-file-size-mod-time-ftp-remote-error-450/21456 "2021-01-04T06:53:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![int3](https://forum.rclone.org/letter_avatar_proxy/v4/letter/i/b9e5f3/32.png) [@int3](https://forum.rclone.org/u/int3)\
**Post date:** [January 4, 2021, 6:53am UTC](https://forum.rclone.org/t/corrupt-sync-with-correct-file-size-mod-time-ftp-remote-error-450/21456/1 "2021-01-04T06:53:32Z")

</div>

I'm trying to understand a _possible_ bug I got but I can't reproduce it anymore, so no logs ☹

I was **syncing** thousands of files to a debian machine with **rclone 1.53.3** from a **ftp remote** (qnap/proftpd) limited to 3 concurrent connections, with `rclone sync myftp:folder . --ftp-concurrency 3 -P` and I noticed for some files I got **ERROR: myfile: Failed to copy: 450 Transfer aborted. Link to file server lost**

After it finished I did the sync command again and it showed everything was ok, so it means I got **exact file size and mod time** for everything, correct?

To be sure files were the same, I generated md5 hashes for all files on the remote machine, compared with my local files, and the files it showed _Error 450_ **didn't match**

I used to trust running sync one more time after a "successful" transfer to check, but after this problem I became a little paranoid with hashes, at least for ftp remotes

Does that make sense to anyone? what's the chance of getting exact size / time but different data with rclone?

Thank you

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [January 4, 2021, 1:25pm UTC](https://forum.rclone.org/t/corrupt-sync-with-correct-file-size-mod-time-ftp-remote-error-450/21456/2 "2021-01-04T13:25:42Z")

</div>

hello and welcome to the forum,

not sure that this is a bug,

- no log files
- not reproducible.
- ftp is an unreliable protocol
- ftp does not support checksums, so no way to verify file transfer.
- `chance of getting exact size / time but different data`. using ftp, should assume that will happen. many posts in the forum about issues with ftp and data corruption.
- `Link to file server lost` could mean that there was an issue with the server
- should be easy to install another file server like sftp which supports checksums. or run `rclone serve sftp` on the qnap. setup a sftp remote on the dest machine. ask me for details....

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 6, 2021, 9:25am UTC](https://forum.rclone.org/t/corrupt-sync-with-correct-file-size-mod-time-ftp-remote-error-450/21456/3 "2021-03-06T09:25:44Z")

</div>

Closed on March 6, 2021, 9:25am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
