Hi Chanaka,

Yes if this does not support upto the level we need it'll be an issue. Did
you find any other libraries that are build on top of NIO.

If not we can compare the limitations with common-vfs (will be using
commons-net internally for ftp/sftp) on functionality. eg: Unable to modify
metadata of a file, Cannot connect via a proxy, etc.

If we have enough feature that can be supported with commons-net [1] we can
do the inbound-connector with commons-net.

[1] https://commons.apache.org/proper/commons-net/

On Sun, Mar 19, 2017 at 10:28 AM, Chanaka Lakmal <ldclak...@gmail.com>
wrote:

> Hi Malaka,
>
> I researched for the Java NIO FTP library that you suggested for me [1].
> What I found was that this is a code base with a very short history and the
> most recent commit was over 13 years ago by Torvald Riegel who was the only
> contributor to this [2]. I feel like this is not an ongoing project and not
> supported by the author. What do you think?
>
> And I couldn't find any documentation regarding that library. Although I
> went through each and every Java class of this library, I couldn't find a
> way to get the use of this library without a API reference or documentation.
>
> I would be glad if you could share some additional materials if you have
> or any suggestions to get a better approach to this project.
>
> [1] http://java-nio-ftp-library.soft112.com/
> [2] https://www.openhub.net/p/javanioftp
>
> Thanks.
>
> Best Regards.
>
> *Chanaka Lakmal,*
> Undergraduate B.Sc.Eng.(Hons.)
> Department of Computer Science & Engineering,
> University of Moratuwa,
> Sri Lanka.
>
> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>
> On Tue, Mar 14, 2017 at 6:29 PM, Chanaka Lakmal <ldclak...@gmail.com>
> wrote:
>
>> Hi Malaka,
>>
>> Sure. Thanks for the suggestion. I will see to it and get back to you.
>>
>> Thanks.
>>
>> Best Regards.
>>
>> *Chanaka Lakmal,*
>> Undergraduate B.Sc.Eng.(Hons.)
>> Department of Computer Science & Engineering,
>> University of Moratuwa,
>> Sri Lanka.
>>
>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>
>> On Tue, Mar 14, 2017 at 1:41 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Hi Chanaka,
>>>
>>> Can we also try the following? This is more optimized.
>>>
>>> [1] http://java-nio-ftp-library.soft112.com/
>>>
>>> On Mon, Mar 13, 2017 at 5:04 PM, Chanaka Lakmal <ldclak...@gmail.com>
>>> wrote:
>>>
>>>> Hi Malaka,
>>>>
>>>> I researched for the libraries that we can use for FTP/SFTP operations
>>>> in addition to using Apache Commons VFS. I found out about some widely used
>>>> libraries such as SSHJ [1] and JSch [2] and did a comparison among them.
>>>> With the use of those findings I created a comparison on SSHJ, Apache
>>>> Commons VFS and JSch and published on my blog [3].
>>>>
>>>> Also, I have experience in JSch since I had previously worked on
>>>> developing a SCP transport using JSch [4] [5]. I believe its ability to
>>>> execute shell commands with the help of the library is a great feature in
>>>> JSch. According to the comparison and my experiences, JSch looks like the
>>>> best candidate among them and I hope to hear others' thoughts about this.
>>>>
>>>> Please share your recommendations and suggestions to get a better
>>>> approach to this project.
>>>>
>>>> [1] SSHJ - https://github.com/hierynomus/sshj
>>>> [2] JSch - http://www.jcraft.com/jsch/
>>>> [3] SSHJ, Apache Commons VFS and JSch comparison (blog post) -
>>>> https://medium.com/@ldclakmal/comparison-of-commons-vfs-sshj
>>>> -and-jsch-libraries-for-sftp-support-cd5a0db2fbce#.d6bux0q0f
>>>> [4] My SCP project (blog post) - https://medium.com/@ldclakmal/
>>>> scp-with-java-b7b7dbcdbc85#.b05pinv1o
>>>> [5] My SCP project (git) - https://github.com/ldclakmal/SCPTransport
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> Best Regards.
>>>>
>>>> *Chanaka Lakmal,*
>>>> Undergraduate B.Sc.Eng.(Hons.)
>>>> Department of Computer Science & Engineering,
>>>> University of Moratuwa,
>>>> Sri Lanka.
>>>>
>>>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>>>
>>>> On Fri, Mar 3, 2017 at 8:57 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>>> Hi Chanaka,
>>>>>
>>>>> Sounds good. Looking forward to hear from you soon.
>>>>>
>>>>> On Thu, Mar 2, 2017 at 6:54 PM, Chanaka Lakmal <ldclak...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Malaka,
>>>>>>
>>>>>> Thank you for your response.
>>>>>>
>>>>>> As you mentioned, you have done a similar development to optimize and
>>>>>> manage local file system using Java NIO [1] instead of Commons-vfs. [2] 
>>>>>> So
>>>>>> my goal is to find such mechanism which is more unique to ftp/sftp
>>>>>> protocol, in order to support file operations via ftp/sftp protocol.
>>>>>>
>>>>>> So, I will come up with my suggestions with best mechanism that is to
>>>>>> be used for file operations via ftp/sftp protocol rather than 
>>>>>> Commons-vfs.
>>>>>> Please share if you have any recommended methods or suggestions to
>>>>>> get a better approach to this project.
>>>>>>
>>>>>> Also I do confirm that I am a full time student and eligible to
>>>>>> participate GSoC.
>>>>>>
>>>>>> [1] https://store.wso2.com/store/assets/esbconnector/details
>>>>>> /9ac7accf-6535-46c2-853e-9ca75c23cdef
>>>>>> [2] http://commons.apache.org/proper/commons-vfs/index.html
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> Best Regards.
>>>>>>
>>>>>> *Chanaka Lakmal,*
>>>>>> Undergraduate B.Sc.Eng.(Hons.)
>>>>>> Department of Computer Science & Engineering,
>>>>>> University of Moratuwa,
>>>>>> Sri Lanka.
>>>>>>
>>>>>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>>>>>
>>>>>> On Tue, Feb 28, 2017 at 10:29 PM, Malaka Silva <mal...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Chanaka,
>>>>>>>
>>>>>>> Thank you for sending the mail.
>>>>>>>
>>>>>>> Currently we have file inbound endpoint [1] and file connector [2]
>>>>>>> to support file operations in WSO2 ESB.
>>>>>>>
>>>>>>> However this is written on top of common-vfs. Common vfs support
>>>>>>> variety of file systems or protocols. eg: ftp, samba etc. Due to that 
>>>>>>> this
>>>>>>> is not optimum for ftp/sftp. Also this provides limited options.
>>>>>>>
>>>>>>> We have done a similar development to manage local file system using
>>>>>>> Java NIO. [3] The idea of this project is to come up with similar 
>>>>>>> inbound
>>>>>>> and connector for ftp/sftp protocol.
>>>>>>>
>>>>>>> Also please confirm that you are a full time student and currently
>>>>>>> not employed since it is against GSoC rules.
>>>>>>>
>>>>>>> [1] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
>>>>>>> [2] https://store.wso2.com/store/assets/esbconnector/details
>>>>>>> /48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
>>>>>>> [3] https://store.wso2.com/store/assets/esbconnector/details
>>>>>>> /9ac7accf-6535-46c2-853e-9ca75c23cdef
>>>>>>>
>>>>>>> On Tue, Feb 28, 2017 at 7:53 AM, Chanaka Lakmal <ldclak...@gmail.com
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm interested in the project *Native inbound and connector for
>>>>>>>> FTP/SFTP operations*. I would like to know more information
>>>>>>>> regarding this.
>>>>>>>>
>>>>>>>> I am Chanaka Lakmal, an final year undergraduate from Department of
>>>>>>>> Computer Science and Engineering, University of Moratuwa. I have the 
>>>>>>>> basic
>>>>>>>> knowledge on Java NIO, File Systems and I have been working with ESB 
>>>>>>>> and
>>>>>>>> connectors.
>>>>>>>>
>>>>>>>> Initially I went through following [1] to understand about File
>>>>>>>> Inbound Protocol and I would like to know more about this project,
>>>>>>>> especially on the expected outcomes and the scope of the project.
>>>>>>>>
>>>>>>>> [1] - https://docs.wso2.com/display/ESB490/File+Inbound+Protocol
>>>>>>>>
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> Best Regards.
>>>>>>>>
>>>>>>>> *Chanaka Lakmal,*
>>>>>>>> Undergraduate B.Sc.Eng.(Hons.)
>>>>>>>> Department of Computer Science & Engineering,
>>>>>>>> University of Moratuwa,
>>>>>>>> Sri Lanka.
>>>>>>>>
>>>>>>>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Best Regards,
>>>>>>>
>>>>>>> Malaka Silva
>>>>>>> Associate Director / Architect
>>>>>>> M: +94 777 219 791 <077%20721%209791>
>>>>>>> Tel : 94 11 214 5345
>>>>>>> Fax :94 11 2145300 <011%202%20145300>
>>>>>>> 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
>>>>>>> https://wso2.com/signature
>>>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>> https://store.wso2.com/store/
>>>>>>>
>>>>>>> Don't make Trees rare, we should keep them with care
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Malaka Silva
>>>>> Associate Director / Architect
>>>>> M: +94 777 219 791 <077%20721%209791>
>>>>> Tel : 94 11 214 5345
>>>>> Fax :94 11 2145300 <011%202%20145300>
>>>>> 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
>>>>> https://wso2.com/signature
>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>> https://store.wso2.com/store/
>>>>>
>>>>> Don't make Trees rare, we should keep them with care
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Associate Director / Architect
>>> M: +94 777 219 791 <077%20721%209791>
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300 <011%202%20145300>
>>> 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
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
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
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to