What is the problem you are having with rclone?
I have set the environment variables of http_proxy
, https_proxy
, HTTP_PROXY
and HTTPS_PROXY
to my proxy at socks5://127.0.0.1:10086
according to the FAQ, but they doesn't seem to be respected by rclone.
I have two interfaces, one with large download bandwidth but small upload bandwidth, the other has a normal download bandwidth and a large upload bandwidth. So the former is the one I primarily use and I depend on a socks5 proxy to specify the other interface when I need to do upload-intensive stuff. However, based on task manager, rclone is still using the interface for download despite the proxy settings when I run rclone copy -P some/large/file onedrive_remote:
. I would expect at least for rclone to fail when I shutdown the proxy, but it doesn't, meaning that is never detects the proxy settings at all.
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.1
- os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
- os/kernel: 10.0.22621.1194 (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)
OneDrive business
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy -P some/large/file onedrive_remote:
The rclone config contents with secrets removed.
[E5]
type = onedrive
token = <token>
drive_id = b!OCV3YdGyCUCSthg9OLMmkw5xjV39hptPhL1rrw-<mask>
drive_type = business
[Crypt]
type = crypt
remote = E5:Crypt
filename_encryption = off
directory_name_encryption = false
password = <password>
A log from the command with the -vv
flag
2023/02/11 20:37:09 DEBUG : rclone: Version "v1.61.1" starting with parameters ["C:\\Users\\<username>\\scoop\\apps\\rclone\\current\\rclone.exe" "copy" "-P" "C:\\Users\\<username>\\some\\large\\file" "Crypt:" "-vv"]
2023/02/11 20:37:09 DEBUG : Creating backend with remote "C:\\Users\\<username>\\some\\large\\file"
2023/02/11 20:37:09 DEBUG : Using config file from "C:\\Users\\<username>\\scoop\\apps\\rclone\\current\\rclone.conf"
2023/02/11 20:37:09 DEBUG : fs cache: adding new entry for parent of "C:\\Users\\<username>\\some\\large\\file", "//?/C:/Users/<username>/Downloads"
2023/02/11 20:37:09 DEBUG : Creating backend with remote "Crypt:"
2023/02/11 20:37:09 DEBUG : Creating backend with remote "E5:Crypt"
2023-02-11 20:37:11 DEBUG : fle: Need to transfer - File not found at Destination
2023-02-11 20:37:11 DEBUG : fle.bin: Starting multipart upload
2023-02-11 20:37:12 DEBUG : fle.bin: Uploading segment 0/14139459936 size 10485760
2023-02-11 20:37:14 INFO : Signal received: interrupt
2023-02-11 20:37:14 DEBUG : fle.bin: Cancelling multipart upload: <nil>
2023-02-11 20:37:15 INFO : Exiting...
Transferred: 8.471 MiB / 13.165 GiB, 0%, 2.392 MiB/s, ETA 1h33m53s
Transferred: 0 / 1, 0%
Elapsed time: 5.5s
Transferring:
* file: 0% /13.165Gi, 2.397Mi/s, 1h33m40s