Add a --proxy flag

I'd like to revive Add --proxy to Rclone as I believe there's one point that was missed when discussing the usefulness of the flag over environment variables.

I believe there is one scenario where the flag would be different to environment variables, and that is connection strings. For example, say I have two remotes:

  • remote A is behind a corporate firewall that I need to access through proxy proxy.example.com:1000
  • remote B is the company's Amazon S3 account, that is not behind a firewall

By having a --proxy flag, I would be able to run a command like rclone copy "A,proxy='proxy.example.com:1000'" B:

This wouldn't be something I can do with environment variables

welcome to the forum,

do you have a real world issue to solve or just suggesting a good feature?

I have a scenario like the one I described, where one of my remotes is geo-blocked and I have to go through a proxy to reach it, however I don't want to use the proxy for the other remote as the proxy has low upload speeds

--proxy would be nice, but not sure how that would get done in the short term?

do you have a workaround yet?

I do it in two steps, first download to a local folder using the proxy, then upload without the proxy