Sorry but I don't understand what we're doing .. are we just re-writing
FTP/FTPS/SFTP support in VFS?

On Sat, Feb 13, 2016 at 11:14 AM, Malaka Silva <[email protected]> wrote:

> This should be only for ftp. The reason we are doing this is there are
> some issues with common vfs related to this use case.
>
> On Sat, Feb 13, 2016 at 11:03 AM, Vivekananthan Sivanayagam <
> [email protected]> wrote:
>
>> Hi ,
>>
>> I am going to improve the existing File connector to support ftp over
>> http, existing file connector supports Common-vfs and it  it produces high
>> rate of failure and then advised to use Java Client (commons-net 3.4).
>>
>> For that I am going to implement a method to support ftp over http and I
>> follow the doc[1].I want to clarify few details that in current version of
>> connector, I used a source as a parameter and possible values are
>> (file:///home/vives/Desktop/file/Append/me.txt or
>> ftp://username:password@localhost/www/me.txt). My question is that,
>> first do I need to check the path is whether ftp or local? and then if it
>> is ftp, do I want to call the newly created method which supports ftp over
>> proxy?.
>>
>> And for a new methods, these are the parameters, proxyHost ,proxyPort ,
>>  proxyUser, proxyPassword ,ftpUsername ,ftpPassword , ftpServer ftpPort
>> , and getting values for these param from user,is it correct?
>>
>> I decided to use "Squid" for the Http proxy.I am following this[2] doc.
>>
>> I have attached the sample code (*CustomVFSMediator.java*) and I go
>> through that code.
>> please give me suggestion that I have to consider when I implement this
>> methods.
>>
>> [1] https://commons.apache.org/proper/commons-net/
>> [2] http://www.tecmint.com/configure-squid-server-in-linux/
>>
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Sanjiva Weerawarana, Ph.D.
Founder, CEO & Chief Architect; WSO2, Inc.;  http://wso2.com/
email: [email protected]; office: (+1 650 745 4499 | +94  11 214 5345)
x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 650 265 8311
blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva
Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to