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 <[email protected]> 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 <[email protected]> wrote: > >> Hi Chanaka, >> >> Sounds good. Looking forward to hear from you soon. >> >> On Thu, Mar 2, 2017 at 6:54 PM, Chanaka Lakmal <[email protected]> >> 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 <[email protected]> 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 <[email protected]> >>>> 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 >>>>> [email protected] >>>>> 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 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 [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
