Hello,

I've been trying to set up lftp to use a socks proxy. It compiled
fine, and works fine except for one small issue.

I would like to have only the control connection use the socks proxy,
and have data connectons directly from my computer to the ftp server.
Based on what I've seen there is no way to do this.

With the default lftp settings, data connections don't even work. I
get the error:

**** bind(data_sock,[0.0.0.0]:0): Connection refused
---> QUIT
rels: Cannot bind data socket for ftp:port-range: Connection refused

When I set ftp:bind-data-socket to no, data connections work, but I
think they are still going over the socks proxy (if I'm wrong, please
tell me, I don't have a good way to test this).

I guess I'm wondering: with ftp:bind-data-socket set to no, are data
connections supposed to bypass the socks proxy? If no, could a setting
be easily added to lftp to allow this behavior? How can I check to see
if the data connection doesn't go over the socks proxy while the
control connection does?

Thanks,

- Kyle

Reply via email to