Rclone rc operations/copyfile copy local file to remote fail

What is the problem you are having with rclone?

rclone rc operations/copyfile copy file from local to remote failed. When file is local, srcFs set local not working

What is your rclone version (output from rclone version)


Which OS you are using and how many bits (eg Windows 7, 64 bit)

debian 10

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

local file

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

rclone rc operations/copyfile srcFs=local: srcRemote=/var/www/html/index.html dstFs=gdrive: dstRemote=/Hello.html

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

Failed to rc: Failed to read rc response: 404 Not Found: {
"error": "object not found",
"input": {
"dstFs": "gdrive:",
"dstRemote": "/Hello.html",
"srcFs": "local:",
"srcRemote": "/var/www/html/index.html"
"path": "operations/copyfile",
"status": 404

Did you start the mount (or serve or rcd) for the daemon with rc enabled? Can you share the config without secrets for the remotes?

rclone rcd is working. I copy file from remote to remote works, but copy local file (file on rcd server) to remote not work. When source file on rcd server , srcFs is not avaliable

Use srcFs=/ - that should work

thanks, it works

1 Like

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