Size differ in uploading html to sharepoint

What is the problem you are having with rclone?

I am uploading html files to a sharepoint site and I am geting this error
corrupted on transfer: sizes differ 539377 vs 539595.

I am able to upload it to my onedrive id business id but the same fails with sharepoint.
i am able to copy txt files to the same sharepoint site.

What is your rclone version (output from rclone version)

Rclone 1.51
go 1.13.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 64bit

Which cloud storage system are you using? (eg Google Drive)

one drive business
sharepoint site

The command you were trying to run (eg rclone copy /tmp remote:tmp)

See below

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

rclone copy -Pvvv "Desktop\logs\myfile.html" "sharepoint:directory"
2020/03/19 19:30:20 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "copy" "-Pvvv" "Desktop\logs\myfile.html" "sharepoint:directory"]
2020/03/19 19:30:20 DEBUG : Using config file from "\stripped txt.cfg"
2020-03-19 19:30:22 DEBUG : myfile.html: Need to transfer - File not found at Destination
2020-03-19 19:30:22 DEBUG : myfile.html: Starting multipart upload
2020-03-19 19:30:23 DEBUG : myfile.html: Uploading segment 0/645420 size 645420
2020-03-19 19:30:33 ERROR : myfile.html: corrupted on transfer: sizes differ 645420 vs 645638
2020-03-19 19:30:33 INFO : myfile.html: Removing failed copy
2020-03-19 19:30:34 ERROR : Attempt 1/3 failed with 1 errors and: corrupted on transfer: sizes differ 645420 vs 645638
2020-03-19 19:30:34 DEBUG : myfile.html: Need to transfer - File not found at Destination
2020-03-19 19:30:34 DEBUG : myfile.html: Starting multipart upload
2020-03-19 19:30:35 DEBUG : myfile.html: Uploading segment 0/645420 size 645420
2020-03-19 19:30:44 ERROR : myfile.html: corrupted on transfer: sizes differ 645420 vs 645638
2020-03-19 19:30:44 INFO : myfile.html: Removing failed copy
2020-03-19 19:30:45 ERROR : Attempt 2/3 failed with 1 errors and: corrupted on transfer: sizes differ 645420 vs 645638
2020-03-19 19:30:45 DEBUG : myfile.html: Need to transfer - File not found at Destination
2020-03-19 19:30:45 DEBUG : myfile.html: Starting multipart upload
2020-03-19 19:30:46 DEBUG : myfile.html: Uploading segment 0/645420 size 645420
2020-03-19 19:30:56 ERROR : myfile.html: corrupted on transfer: sizes differ 645420 vs 645638
2020-03-19 19:30:56 INFO : myfile.html: Removing failed copy
2020-03-19 19:30:56 ERROR : Attempt 3/3 failed with 1 errors and: corrupted on transfer: sizes differ 645420 vs 645638
Transferred: 1.847M / 1.847 MBytes, 100%, 57.100 kBytes/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 33.1s
2020/03/19 19:30:56 Failed to copy: corrupted on transfer: sizes differ 645420 vs 645638

hello and welcome to the forum,

this is not a bug with rclone.

as per rclone documenation,

https://rclone.org/onedrive/#unexpected-file-size-hash-differences-on-sharepoint

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