First and foremost - Hi all and thank you for your time and hard work!
What is the problem you are having with rclone?
When an uncached file transfer to pCloud
is interrupted due to losing internet, pCloud seems to keep the partially uploaded file around (it can take a few minutes to appear in pCloud).
First off I'd like to ask if this is the intended behavior or if an "all or nothing" is expected?
If this is indeed intended, is there any way of avoiding leaving half-uploaded files around with the same name as the final file, e.g. by forcing rclone to upload to a .partial
file, as it does with a number of other destinations, like sftp
?
(I can't seem to find an opposite flag to --inplace
in the documentation and --partial-suffix
seems to only affect destinations that already use temporary files.)
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
- os/version: darwin 14.2.1 (64 bit)
- os/kernel: 23.2.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.22.1
- go/linking: dynamic
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
pCloud
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
- Have a 1 GiB file named
file
$ rclone lsl file
1073741824 2024-03-17 22:16:40.358814994 file
- Start a copy of
file
to pCloud.
$ rclone copy -v -P file pcloud:
Transferred: 10.871 MiB / 1 GiB, 1%, 652.236 KiB/s, ETA 26m30s
Transferred: 0 / 1, 0%
Elapsed time: 18.0s
Transferring:
* file: 1% /1Gi, 652.204Ki/s, 26m30s^C
-
Interrupt internet connection before transfer is complete.
-
Interrupt rclone (CTRL+C).
-
Restore internet connection.
-
Observe pCloud partially uploaded file.
$ rclone lsl -v pcloud:file
11087872 2024-03-17 22:16:40.000000000 file
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[pcloud]
type = pcloud
hostname = eapi.pcloud.com
token = XXX
A log from the command that you were trying to run with the -vv
flag
(I omitted the -vv
only to avoid noise from the discussion. I'd be happy to supply it if it is relevant!)
Thank you for taking the time!