When copying and pasting a file in the same directory, the original file is completely erased.
The new copy file is also empty.
If copying a file and pasting it to a different directory all is good. In this case the original file name is: 'Phase2_Spec 2.xlsx' and the copied one is: 'Phase2_Spec 2 - Copy.xlsx'
Original size 16KB, then is 0KB on both.
What is your rclone version (output from rclone version)
It kept saying I can only use 2 links in a post, so I had to split the whole thing. Not sure how links are defined but I could only see one, the log file.
As far as I understand rclone copy, does't let you copy a single file.
rclone copy source:path dest:path
'path' needs to be a directory, right?
This creates a new directory with the same file inside. Not what I want:
rclone copy IT:POS/Phase2_Spec-2.xlsx IT:POS/Phase2_Spec-2-TEST.xlsx
This doesn't do anything at all:
rclone copy IT:POS/Phase2_Spec-2.xlsx IT:POS
Without --vfs-cache-mode full
Apart that it's extremely slow to do anything, but yes, same thing, original file 0KB and new copied file 0KB
Let me explain further. The purpose of this exercise is to use rclone on a terminal server, so all users can simultaneously access the drive. Google Drive FS is a mess on a terminal server, it can't work.
I would like to use rclone mount to do that. But not if I can't copy and paste a file securely.
rclone.exe copy C:\data\rclone\scripts\test\singlefiletest\asinglefile.txt wasabi01:singlefiletest -vv
DEBUG : rclone: Version "v1.54.1" starting with parameters ["c:\\data\\rclone\\scripts\\rclone.exe" "copy" "C:\\data\\rclone\\scripts\\test\\singlefiletest\\asinglefile.txt" "wasabi01:singlefiletest" "-vv"]
DEBUG : Creating backend with remote "C:\\data\\rclone\\scripts\\test\\singlefiletest\\asinglefile.txt"
DEBUG : Using config file from "c:\\data\\rclone\\scripts\\rclone.conf"
DEBUG : fs cache: adding new entry for parent of "C:\\data\\rclone\\scripts\\test\\singlefiletest\\asinglefile.txt", "//?/C:/data/rclone/scripts/test/singlefiletest"
DEBUG : Creating backend with remote "wasabi01:singlefiletest"
DEBUG : asinglefile.txt: Need to transfer - File not found at Destination
INFO : S3 bucket singlefiletest: Bucket "singlefiletest" created with ACL "private"
DEBUG : asinglefile.txt: MD5 = 594ed36754a38f1e049efe867f4b9553 OK
INFO : asinglefile.txt: Copied (new)
INFO :
Transferred: 4 / 4 Bytes, 100%, 45 Bytes/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 0.2s
rclone.exe ls wasabi01:singlefiletest
4 asinglefile.txt
you call this a suspected bug, the main way to test is to simply the command as much as possbile, see what happens.
Sorry, perhaps I didn't explain very well what I am trying to do.
I would like to duplicate a file within the same drive. Not from Windows to the drive or vice-versa. Dirve to drive. Same function as on the web interface 'Make a copy'
Since I would like to use rclone mount for all users, and end users often use copy / paste, is there a solution to this, will it be fixed?
as a test, i used this command, trying to mimic your command. rclone.exe mount wasabi01: b:\mount\rclone\wasabi01 --network-mode --vfs-cache-mode=full --cache-dir=C:\ex\cache --log-file=C:\data\rclone\scripts\rr\other\mount\log.mount.wasabi01.txt --log-level=DEBUG
i was able to copy and paste an existing file in a folder in mount to the same folder on the same mount.
no problem.
i was able to replicate the problem with this command rclone.exe mount wasabi01: b:\mount\rclone\wasabi01
it seems to happen with windows explorer, which i have not used on a daily basis on over 10+ years.
tho it does not happen with double commander, a open source clone of total commander.
i tried the lastest winfsp beta, still the problem persists.
@ncw, take you take a look at the OP log file.
i hate to call anything about rclone a bug, perhaps an anomalous issue.
here is a minimal log, start rclone, goto the folder in the mount and use windows explorer to do a copy and paste.
as for --vfs-cache-mode full, i will test now...
How big was /singlefiletest/test.xlsx before you started? Was it > 0 bytes? If not can you repeat the test so that it has got something in to start with?