~tmp files on Sharepoint remote

What is the problem you are having with rclone?

Files uploaded to Sharepoint Online seem to be uploaded with ~tmp prefix and then renamed. This is causing problems for automation scripts running on Sharepoint side which is triggered on creation of new files.
Are these temp files created by rclone and can this be disabled? Or is this Sharepoint behaviour, that cannot be changed?

What is your rclone version (output from rclone version)

1.55.1

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

Windows 2012R2, 64 bit

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

Sharepoint Online

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

rclone.exe -vv --config m:\Rclone\rclone.conf --log-file=M:\Rclone\rclone.log --transfers=1 move M:\COVID-SP-OUT COVID-SP:General/Certificates --include *.pdf

The rclone config contents with secrets removed.

[COVID-SP]
type = onedrive
region = global
token = xxx
drive_id = xxx
drive_type = documentLibrary


A log from the command with the -vv flag

2021/07/16 18:17:57 DEBUG : Using config file from "m:\\Rclone\\rclone.conf"
2021/07/16 18:17:57 DEBUG : rclone: Version "v1.55.1" starting with parameters ["m:\\Rclone\\rclone.exe" "-vv" "--config" "m:\\Rclone\\rclone.conf" "--log-file=M:\\Rclone\\rclone.log" "--transfers=1" "move" "M:\\COVID-SP-OUT" "COVID-SP:General/Certificates" "--include" "*.pdf"]
2021/07/16 18:17:57 DEBUG : Creating backend with remote "M:\\COVID-SP-OUT"
2021/07/16 18:17:57 DEBUG : fs cache: renaming cache item "M:\\COVID-SP-OUT" to be canonical "//?/M:/COVID-SP-OUT"
2021/07/16 18:17:57 DEBUG : Creating backend with remote "COVID-SP:General/Certificates"
2021/07/16 18:18:00 DEBUG : Hello, World!.xlsx: Excluded
2021/07/16 18:18:00 DEBUG : helloworld2 (1).txt: Excluded
2021/07/16 18:18:00 DEBUG : helloworld2.txt: Excluded
2021/07/16 18:18:00 DEBUG : One drive root 'General/Certificates': Waiting for checks to finish
2021/07/16 18:18:00 DEBUG : One drive root 'General/Certificates': Waiting for transfers to finish
2021/07/16 18:18:00 DEBUG : EKJ03265.pdf: Starting multipart upload
2021/07/16 18:18:01 DEBUG : EKJ03265.pdf: Uploading segment 0/1262794 size 1262794
2021/07/16 18:18:04 DEBUG : EKJ03265.pdf: QuickXorHash = ecf2082b8e44cee5e107b3954d945b10eefba970 OK
2021/07/16 18:18:04 INFO  : EKJ03265.pdf: Copied (new)
2021/07/16 18:18:04 INFO  : EKJ03265.pdf: Deleted
2021/07/16 18:18:04 INFO  : 
Transferred:   	    1.204M / 1.204 MBytes, 100%, 333.587 kBytes/s, ETA 0s
Checks:                 2 / 2, 100%
Deleted:                1 (files), 0 (dirs)
Renamed:                1
Transferred:            1 / 1, 100%
Elapsed time:         7.4s

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