How does offline uploading work's

Hello,

Coming from rclone+plexdrive and moving to full rclone with cache who works nice for me, i have a question with the Offline uploading feature,

how does it works?

i have set this on my rclone mount cache

–cache-tmp-upload-path /home/user/rclone/ready/
–cache-tmp-wait-time 24h \

i have move files into this tmp-upload-path but nothing happens !

i probably miss something, i anyone can help me :slight_smile:

Thanks :wink:

ps : my mount settings

rclone mount
–allow-other
–allow-non-empty
–dir-cache-time 120h
–drive-chunk-size 32M
–vfs-read-chunk-size 16M
–vfs-read-chunk-size-limit 2G
–timeout 1h
–umask 002
–cache-info-age=128h
–cache-chunk-total-size 250G
–cache-chunk-path /home/user/rclone/
–cache-db-path /home/user/rclone/db/
–cache-tmp-upload-path /home/user/rclone/ready/
–cache-tmp-wait-time 24h
–log-level INFO
–log-file /home/user/log/app-cache.log
–config=/home/user/script/rclone.conf
gdrive-app-cache: /home/user/google/gdrive-app-cache/ &

You don’t move things into the tmp-upload-path, you just copy them to the mount.

allow-non-empty is just a bad option and you should remove it as it allows for over mounting.

–vfs-read-chunk-size 16M
–vfs-read-chunk-size-limit 2G can both be removed as you are using the cache backend so that does nothing.

If you are using the cache backend, I’d set --buffer-size 0M as the cache backend uses it’s own buffering so it’s just waste.

nice :slightly_smiling_face:

so, what’s the use of that settings? “the tmp-upload-path”

Just the path to where it moves the files before upload.

hum,

i want to move a files from my local directory “A” to my cloud directory “B”

rclone move do that

A => B

with tmp-upload-path it will add a cache directory to permet access to the file during transfer?

Take a second and read this as it explains how the offline uploading works:

https://rclone.org/cache/#offline-uploading

allready read this various time :confused:

So based on the steps and the explanation of how it works, what isn’t clear? I’m asking as I’d like to update / fix if things aren’t clear.

1 Like

for me,

i have understand this : tmp-upload-path is a temp folder who’s file will be automated moved from to rclone cache after a delay set by cache-tmp-wait-time

If you have a mount called “/mount”

You could copy /somewhere/file.txt to /mount/file.txt

With the cache backend, behind the scenes, the file actually lands on the local storage at the cache-tmp-upload-path.

After the time expires, it moves that file from local to your cloud remote in the background.

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