Hi, my VPS has a really small disk, so I want to download the file and upload it to Google Drive without saving locally. Are there any possible ways to do that? Hope someone can help me.
welcome to the forum,
that is possible, but it depends on the source.
what is the source, please provide details?
The source is fshare.vn, tks for helping me :33
what protocols does that server provide, sftp, ftp, webdav or what?
need to create a rclone remote that points to that server.
If this is single file you can use rclone copyurl
rclone copyurl 'http://download802.fshare.vn/dl/xxxx' gdrive: --progress
I'm not sure what does the gdrive stand for? The rclone config to upload to Google Drive or something else...
The name of google drive remote you configured (when running rclone config
) - you can use different name.
After run that, instead of using the config it create a new folder name gdrive and save the file in that folder
post here what is in your config - but remove password etc:)
the config to upload file to google drive, isn't it?
--- the proper remote name is gdrive:
with a colon, not gdrive
as in rclone lsd gdrive:
--- post the full output of rclone version
--- run your rclone command with -vv --dry-run
and post the full output
--- to find the config file, run rclone config file
yes - content of rclone.config file.
If your VPS is linux it will be in ~/.config/rclone
-
I've run it and is said "config name:" is a directory
-
There it is:
=====
rclone v1.61.1 -
os/version: centos 7.9.2009 (64 bit)
-
os/kernel: 3.10.0-1160.83.1.el7.x86_64 (x86_64)
-
os/type: linux
-
os/arch: amd64
-
go/version: go1.19.4
-
go/linking: static
-
go/tags: none
=====
Can I delete the client secret and ID?
yes do not share any secrets
we cannot see into your machine.
you have to run the command with -vv
and post the full output
[GetlinkYam]
type = drive
client_id = xxxxxx
client_secret = xxxxx
scope = drive
token = {"access_token":"xxxxxx
team_drive = xxxxx
root_folder_id =
try rclone lsd GetlinkYam: -vv