Hellow~ Thanks for clicking in.
In my case, I got a VPS as a bridge to connected with GDrive.
There are three points in my configuration.
myPC >> VPS >> GDrive
I got a really low speed in achieving GDrive, so I thought I could take a VPS as a bridge.
I got a high speed of uploading things to my VPS.
And I could upload from VPS to GDrive in high speed as well.
So, in my opinion, if I deploy rclone serve webdav/http in my VPS connected to GDrive, I could get a high speed of reaching GDrive.
But, here is the problem: my VPS storage space is reeeeaaaaally small.(3GB free only) So downloading is not a problem but uploading is.
I mount the webdav(VPS) in my PC and when I try to upload a single file bigger than 3GB, it will meet an error of .. kind of like Input/Output error(I'm not sure)
And if I upload several small piece of files to GDrive. I found that these files were kept in
> /root/.cache/rclone/vfs/CONFIGNAME/.
Dose it means that the files will transfer to VPS local storage first and then transfer to GDrive?
Is it possible to configure that the VPS(webdav) only transfer the traffic but not store files?
In another words, is there any way for me to upload a file bigger than 3GB to GDrive through VPS?
Configuration shown below:
The command you were trying to run
VPS:
root@v154264:~# cat /etc/systemd/system/rclone-webdav.service
[Unit]
Description=Rclone
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/rclone serve webdav cc:/bus --addr 127.0.0.1:19843 --umask 0000 --buffer-size 32M --dir-cache-time 12h --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 1G --vfs-cache-mode writes
Restart=on-abort
User=root
[Install]
WantedBy=default.target
root@v154264:~# cat .config/rclone/rclone.conf
[cc]
type = drive
scope = drive
token = {"access_token":"XXXXXXXXXXXXXXXXXXXXXXXXXX"}
root_folder_id = XXXXXXXXXXXXXX
myPC:
cat /root/.config/rclone/rclone.conf
[test]
type = webdav
url = https://MY.DOMAIN.COM/
vendor = other
/usr/bin/rclone mount test:/ /home/cc/Desktop/test \
--umask 0000 \
--default-permissions \
--allow-non-empty \
--allow-other \
--buffer-size 32M \
--dir-cache-time 12h \
--vfs-read-chunk-size 64M \
--vfs-read-chunk-size-limit 1G