I have two machines(computers) A and B.
Rclone is running in machine A with RC mode.
I am accessing rclone api's from machine B to create remotes and transfer files across clouds.
Now to create GCS remote I need to use service account json file which contains creds.
So I am looking for a way to upload this service account json file to Rclone local disk (machine A) from machine B and then create GCS remote (where I can mention the json path in remote)
So I am looking for a way to upload the file from machine B to machine A's local disk.
Here - Google drive I see that " rclone copy /home/source remote:backup
can be used to copy local file to remote, but how do I do this with RCD mode ? which api to use and what is the source remote name I need to mention?
Any suggestion is much appreciated, thank you in advance.
You are right , I tried using " operations/uploadfile" but did not get it working, could you please share any example for this request ? like what should go in body of http post or parameters?
Tried an alternative approach, writing content to local file and uploading that using "/sync/copy", this works.
But it would be good if "operations/uploadfile" works for me.