STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
What is the problem you are having with rclone?
I'm using rclone rc apis to sync/copy files from my local windows filesystem to aws s3.
I would like to add custom headers (eg;- x-amz-meta-testheader).
I know it can be done by setting a global flag (--header-upload), but I want it to be done as part of my api call, like the following
{
"srcFs": "C:\TestFiles",
"dstFs": ":s3,provider='AWS',secret_access_key='',access_key_id='',region='us-east-2',server_side_encryption='':bucket\path",
"_async":true,
"headers": [
{
"Key": "x-amz-meta-test",
"Value": "test"
}
] }
Is this available now ?
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.1
- os/version: Microsoft Windows 10 Enterprise 22H2 (64 bit)
- os/kernel: 10.0.19045.3086 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
AWS
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Paste command here
```http://localhost:5572/sync/copy
#### Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
<!-- You should use 3 backticks to begin and end your paste to make it readable. -->
Paste config here
#### A log from the command that you were trying to run with the `-vv` flag
<!-- You should use 3 backticks to begin and end your paste to make it readable. Or use a service such as https://pastebin.com or https://gist.github.com/ -->
Paste log here