commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-522) [FTP] Proxy SOCKS && HTTP authentication
Date Mon, 05 May 2014 17:00:22 GMT

    [ https://issues.apache.org/jira/browse/VFS-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989698#comment-13989698
] 

Bernd Eckenfels commented on VFS-522:
-------------------------------------

Hello [~george.toma]

yes please give it a try. You can start to work locally based on the Trunk. Patches in SVN
format are preferred by most commons developers, but you can also work/fork on github (thats
my preference so I can watch your fork): https://github.com/apache/commons-vfs

What also would be nice if you can try to get in touch with Vasily from VFS-129 and/or Jimmy
from VFS-167 if they want to help as well. I havent heared back from both but I did also not
try to contact them)

There are generally two options, the one which is used with setProxy (using an application
side object) is quicker to implement, but having options which map onto string properties
are better (and/or using the authenticator callback framework of vfs) because they can be
configured in files.

I would recommend you also sign up to the dev-at-commons.apache.org mailing list, so we can
discuss your proposed enhancements there (where everybody can see and comment).

> [FTP] Proxy SOCKS && HTTP authentication
> ----------------------------------------
>
>                 Key: VFS-522
>                 URL: https://issues.apache.org/jira/browse/VFS-522
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: George Toma
>            Priority: Minor
>
> Provide support for  FTP proxy authentication over HTTP and SOCKS protocols.
> Functional response from Bernd Eckenfels regarding the request for this functionality
: 
> {quote}
> George, well yes it should. However the proxy support for SFTP and FTP is just a thin
layer on top of the actual implementation (JSch in case of ssh and commons.net.ftp in case
of FTP). Jsch has its own classes for proxies, and therefore can support proxy authentication.
The FTPClient only support java.net.Proxy (or a Socket factory). So while it is possible to
add more proxy functionality it is a more complex change. I only have added the proposed minor
change.
> I do wonder if there is a common socket factory in commons net or somewhere which could
be used and if somebody want to take over that task. I will close this bug, can you open a
new one in regards to the proxy authentication (and mention this comment).
> {quote}
> Based on the Apache Commons Net website : 
> #  The Net project uses java.net.Socket under the covers [this_1|http://wiki.apache.org/commons/Net/FrequentlyAskedQuestions]
( also @see [this_2|http://commons.apache.org/proper/commons-net/javadocs/api-1.4.1/org/apache/commons/net/DefaultSocketFactory.html]
)
> Related tickets : 
> # VFS-167
> # VFS-129



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message