Proxy env vars for ftp ignored


#1

using latest rclone and ubuntu 18.04
created ftp config called config_ftp
set up env vars as below

export ftp_proxy=http://192.168.1.143:3128
export FTP_PROXY=http://192.168.1.143:3128
export http_proxy=http://192.168.1.143:3128
export HTTP_PROXY=http://192.168.1.143:3128
rclone ls config_ftp: -vv
rclone tries to connect directly to ftp server bypassing the proxy

any idea what I am doing wrong?


#2

Ah, I don’t think the ftp backend supports a proxy

I think this is the relevant issue: https://github.com/jlaffaye/ftp/issues/86


#3

Thank you @ncw
Should relevant section in FAQ be updated?
Currently it states ‘If you ever use FTP then you would need to set ftp_proxy.’


#4

So it does! I’ve fixed that and put a note in the ftp docs too.

Thanks for spotting that!