Unable to copy a single file from a 1fichier password protected shared folder

What is the problem you are having with rclone?

Unable to copy a single file from a 1fichier shared folder. I keep getting temp banned. I can do a ls of the shared folder no problem.

What is your rclone version (output from rclone version)

1.57.0

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

1fichier

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

rclone copy remote1:/file.rar local: --tpslimit=30 --ignore-checksum

The rclone config contents with secrets removed.

--------------------
[remote1]
type = fichier
api_key = xxxxxx
shared_folder = xxxxxx
--------------------

I also entered the folder password when creating the config.

Log output

<6>INFO  : Starting transaction limiter: max 30 transactions/s with burst 1
<7>DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "-vv" "copy" "remote1:/abc.rar" "local:" "--tpslimit=30" "--ignore-checksum"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "remote1:/abc.rar"
<7>DEBUG : Using config file from "/home/me/.config/rclone/rclone.conf"
<7>DEBUG : fs cache: renaming cache item "remote1:/abc.rar" to be canonical "remote1:"
<7>DEBUG : Creating backend with remote "local:"
<7>DEBUG : fs cache: renaming cache item "local:" to be canonical "/media/nfs/NSW/abc"
<5>NOTICE: 5058 - a.rar: Duplicate object found in source - ignoring
<5>NOTICE: 5299 - b.rar: Duplicate object found in source - ignoring
<7>DEBUG : preAllocate: got error on fallocate, trying combination 1/2: operation not supported
<7>DEBUG : preAllocate: got error on fallocate, trying combination 2/2: operation not supported
<7>DEBUG : 0055 - c.rar: Starting multi-thread copy with 4 parts of size 413.625Mi
<7>DEBUG : 0055 - c.rar: multi-thread copy: stream 4/4 (1301151744-1734684399) size 413.449Mi starting
<7>DEBUG : 0055 - c.rar: multi-thread copy: stream 1/4 (0-433717248) size 413.625Mi starting
<7>DEBUG : 0055 - c.rar: multi-thread copy: stream 2/4 (433717248-867434496) size 413.625Mi starting
<7>DEBUG : 0055 - c.rar: multi-thread copy: stream 3/4 (867434496-1301151744) size 413.625Mi starting
<7>DEBUG : 0056 - d.rar: Starting multi-thread copy with 4 parts of size 1.185Gi
<7>DEBUG : 0056 - d.rar: multi-thread copy: stream 4/4 (3817537536-5089972777) size 1.185Gi starting
<7>DEBUG : 0056 - d.rar: multi-thread copy: stream 1/4 (0-1272512512) size 1.185Gi starting
<7>DEBUG : 0056 - d.rar: multi-thread copy: stream 2/4 (1272512512-2545025024) size 1.185Gi starting
<7>DEBUG : 0056 - d.rar: multi-thread copy: stream 3/4 (2545025024-3817537536) size 1.185Gi starting
<7>DEBUG : 0036 - e.rar: Sizes differ (src 14755124274 vs dst 0)
<7>DEBUG : 0054 - f.rar: Starting multi-thread copy with 3 parts of size 269.062Mi
<7>DEBUG : 0037 - g.rar: Sizes differ (src 2643884961 vs dst 0)
<7>DEBUG : 0038 - h.rar: Sizes identical
<7>DEBUG : 0038 - h.rar: Unchanged skipping
<7>DEBUG : 0054 - f.rar: multi-thread copy: stream 1/3 (0-282132480) size 269.062Mi starting
<7>DEBUG : 0054 - f.rar: multi-thread copy: stream 2/3 (282132480-564264960) size 269.062Mi starting
<7>DEBUG : 0054 - f.rar: multi-thread copy: stream 3/3 (564264960-846238909) size 268.911Mi starting
<7>DEBUG : Local file system at /media/nfs/NSW/abc: Waiting for checks to finish
<7>DEBUG : Local file system at /media/nfs/NSW/abc: Waiting for transfers to finish
<7>DEBUG : pacer: low level retry 1/10 (error HTTP error 403 (403 Forbidden) returned body: "{\"message\":\"Invalid password. Resource not allowed #772\",\"status\":\"KO\"}")
<7>DEBUG : pacer: Rate limited, increasing sleep to 5s
<7>DEBUG : pacer: low level retry 1/10 (error HTTP error 403 (403 Forbidden) returned body: "{\"message\":\"Invalid password. Resource not allowed #772\",\"status\":\"KO\"}")

There's no log file or error to look at.

I updated it with the log output.
I think I fixed the issue of getting banned by adding the tpslimit and ignore-checksum

However, it isn't trying to grab the file I specified. It's trying to grab all the files in the folder. But it just creates a bunch of files that are 0 size. Then it fails on the invalid password. But the password I entered is correct. It works when downloading manually from 1f through the browser.

Looks like you have duplicate files in the source which is confusing things.

https://rclone.org/fichier/#duplicated-files

What does:

rclone lsd remote1:

Show?

Nothing actually.

me@server:/media/nfs/NSW/abc$ rclone lsd remote1:
me@server:/media/nfs/NSW/abc$ 
<7>DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "lsd" "remote1:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "remote1:"
<7>DEBUG : Using config file from "/home/me/.config/rclone/rclone.conf"
<7>DEBUG : 3 go routines active

Does a ls show anything? Duplicates do need to get cleaned up.

yes. It shows all the files in the folder:

rclone ls remote1: -vv|more
<7>DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "ls" "remote1:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "remote1:"
<7>DEBUG : Using config file from "/home/me/.config/rclone/rclone.conf"
111385677 0035 - a.rar
14755124274 0036 - b.rar
2643884961 0037 - c.rar

I don't own the shared folder, so I can't clean it up. Also, do spaces in the filenames matter?

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