What is the problem you are having with rclone?
rclone copy command fails for provider pCloud.com
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.2
- os/version: Microsoft Windows 10 Pro 21H1 (64 bit)
- os/kernel: 10.0.19043.1288 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy pcloud:\Test\asdf.txt R:\
The rclone config contents with secrets removed.
[pcloud]
type = pcloud
hostname = eapi.pcloud.com
token = {"access_token":"[snipped for privacy]","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}
A log from the command with the -vv
flag
C:\>rclone copy pcloud:\Test\asdf.txt R:\ -vv
2022/10/16 09:51:10 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "copy" "pcloud:\\Test\\asdf.txt" "R:\\" "-vv"]
2022/10/16 09:51:10 DEBUG : Creating backend with remote "pcloud:\\Test\\asdf.txt"
2022/10/16 09:51:10 DEBUG : Using config file from "R:\\rclone\\rclone.conf"
2022/10/16 09:51:10 DEBUG : fs cache: adding new entry for parent of "pcloud:\\Test\\asdf.txt", "pcloud:Test"
2022/10/16 09:51:10 DEBUG : Creating backend with remote "R:\\"
2022/10/16 09:51:10 DEBUG : fs cache: renaming cache item "R:\\" to be canonical "//?/R:/"
2022/10/16 09:51:11 DEBUG : asdf.txt: Need to transfer - File not found at Destination
2022/10/16 09:51:11 DEBUG : Couldn't parse Date: from server evc73.pcloud.com: "Sun, 16 Oct 2022 07:51:11 +0000": parsing time "Sun, 16 Oct 2022 07:51:11 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 16 Oct 2022 07:51:11 +0000" as " "
2022/10/16 09:51:11 DEBUG : Couldn't decode error response: invalid character '<' looking for beginning of value
2022/10/16 09:51:11 ERROR : asdf.txt: Failed to copy: failed to open source object: pcloud error: 410 Gone (410)
2022/10/16 09:51:11 ERROR : Attempt 1/3 failed with 1 errors and: failed to open source object: pcloud error: 410 Gone (410)
2022/10/16 09:51:11 DEBUG : asdf.txt: Need to transfer - File not found at Destination
2022/10/16 09:51:12 DEBUG : Couldn't parse Date: from server evc73.pcloud.com: "Sun, 16 Oct 2022 07:51:12 +0000": parsing time "Sun, 16 Oct 2022 07:51:12 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 16 Oct 2022 07:51:12 +0000" as " "
2022/10/16 09:51:12 DEBUG : Couldn't decode error response: invalid character '<' looking for beginning of value
2022/10/16 09:51:12 ERROR : asdf.txt: Failed to copy: failed to open source object: pcloud error: 410 Gone (410)
2022/10/16 09:51:12 ERROR : Attempt 2/3 failed with 1 errors and: failed to open source object: pcloud error: 410 Gone (410)
2022/10/16 09:51:12 DEBUG : asdf.txt: Need to transfer - File not found at Destination
2022/10/16 09:51:12 DEBUG : Couldn't parse Date: from server evc73.pcloud.com: "Sun, 16 Oct 2022 07:51:12 +0000": parsing time "Sun, 16 Oct 2022 07:51:12 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 16 Oct 2022 07:51:12 +0000" as " "
2022/10/16 09:51:12 DEBUG : Couldn't decode error response: invalid character '<' looking for beginning of value
2022/10/16 09:51:12 ERROR : asdf.txt: Failed to copy: failed to open source object: pcloud error: 410 Gone (410)
2022/10/16 09:51:12 ERROR : Attempt 3/3 failed with 1 errors and: failed to open source object: pcloud error: 410 Gone (410)
2022/10/16 09:51:12 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 2.2s
2022/10/16 09:51:12 DEBUG : 4 go routines active
2022/10/16 09:51:12 Failed to copy: failed to open source object: pcloud error: 410 Gone (410)
Addendum
same command works on the same machine with same folder/file for Koofr(.eu):
C:\>rclone copy koofr:\Test\asdf.txt R:\ -vv
2022/10/16 09:58:26 DEBUG : Setting --cache-dir "R:\\rclone" from environment variable RCLONE_CACHE_DIR="R:\\rclone"
2022/10/16 09:58:26 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "copy" "koofr:\\Test\\asdf.txt" "R:\\" "-vv"]
2022/10/16 09:58:26 DEBUG : Creating backend with remote "koofr:\\Test\\asdf.txt"
2022/10/16 09:58:26 DEBUG : Using config file from "R:\\rclone\\rclone.conf"
2022/10/16 09:58:26 DEBUG : fs cache: adding new entry for parent of "koofr:\\Test\\asdf.txt", "koofr:/Test"
2022/10/16 09:58:26 DEBUG : Creating backend with remote "R:\\"
2022/10/16 09:58:26 DEBUG : fs cache: renaming cache item "R:\\" to be canonical "//?/R:/"
2022/10/16 09:58:26 DEBUG : asdf.txt: Need to transfer - File not found at Destination
2022/10/16 09:58:27 DEBUG : asdf.txt: md5 = 912ec803b2ce49e4a541068d495ab570 OK
2022/10/16 09:58:27 INFO : asdf.txt: Copied (new)
2022/10/16 09:58:27 INFO :
Transferred: 4 B / 4 B, 100%, 0 B/s, ETA -
Transferred: 1 / 1, 100%
Elapsed time: 0.8s
2022/10/16 09:58:27 DEBUG : 4 go routines active