Hi , It is released and published in the store[1] and updated the doc [2] also.
[1] https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6 [2] https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the+File+Connector+Version+2#WorkingwiththeFileConnectorVersion2-delete Vivekananthan Sivanayagam Associate Software Engineer | WSO2 E:[email protected] M:+94752786138 On Tue, Oct 18, 2016 at 9:02 AM, Malaka Silva <[email protected]> wrote: > IMO we may not require that at the moment. Will proceed with the one level > for the moment. > > On Mon, Oct 17, 2016 at 11:09 PM, Shazni Nazeer <[email protected]> wrote: > >> HI Vivekanandan, >> >> I implemented this intentionally and had the same concern whether it >> should be recursive. I thought it should not be. But if we need recursive >> delete IMO it should only be optional, meaning that it shouldn't be the >> default. May be we can include it as another parameter with 'yes/no" values. >> >> @Malaka - Do we need recursive delete. If needed I can implement and send >> a PR. >> >> Shazni Nazeer >> Associate Technical Lead | WSO2 >> >> Mob : +94 777737331 >> LinkedIn : http://lk.linkedin.com/in/shazninazeer >> Blog : http://shazninazeer.blogspot.com >> >> <http://wso2.com/signature> >> >> On Mon, Oct 17, 2016 at 6:02 PM, Vivekananthan Sivanayagam < >> [email protected]> wrote: >> >>> Hi Malaka, >>> >>> I have tested and it deletes given pattern files only inside the given >>> folder not the files inside the subfolder. If folder structure is below as >>> described, >>> >>> Folder >>> >>> Folder001 >>> >>> test_001.txt >>> >>> test_002.txt >>> >>> Folder002 >>> >>> Folder002.1 >>> >>> test_0021.txt >>> >>> test_0022.txt >>> >>> test_003.txt >>> >>> test_004.txt >>> >>> Let's consider that the main folder is Folder and Folder001, Folder002 >>> ,test_003.txt and test_004.txt are inside the main folder. We are using the >>> delete operation to delete files inside the main folder(Folder) with >>> the pattern "test_.*\.txt". It deletes only the files which are inside the >>> main folder (test_003.txt and test_004.txt are deleted). It does not delete >>> the files inside the subfolders(Folder001,Folder002). >>> >>> Do we need to consider the subfolders too? or can we release with this >>> improvement? >>> >>> Vivekananthan Sivanayagam >>> Associate Software Engineer | WSO2 >>> E:[email protected] >>> M:+94752786138 >>> >>> On Mon, Oct 17, 2016 at 6:48 PM, Malaka Silva <[email protected]> wrote: >>> >>>> Thx Shazni, >>>> >>>> @Vivekananthan - Can you please check and release. >>>> >>>> On Mon, Oct 17, 2016 at 6:36 PM, Shazni Nazeer <[email protected]> wrote: >>>> >>>>> Hi Malaka, >>>>> >>>>> Please find the created jiira below and the PR in [2] >>>>> >>>>> [1] https://wso2.org/jira/browse/ESBCONNECT-135 >>>>> [2] https://github.com/wso2-extensions/esb-connector-file/pull/14 >>>>> >>>>> Shazni Nazeer >>>>> Associate Technical Lead | WSO2 >>>>> >>>>> Mob : +94 777737331 >>>>> LinkedIn : http://lk.linkedin.com/in/shazninazeer >>>>> Blog : http://shazninazeer.blogspot.com >>>>> >>>>> <http://wso2.com/signature> >>>>> >>>>> On Mon, Oct 17, 2016 at 4:33 AM, Malaka Silva <[email protected]> wrote: >>>>> >>>>>> Hi Shazni, >>>>>> >>>>>> Create a jira to track this please. >>>>>> >>>>>> Feel free to contribute the improvement. :) >>>>>> >>>>>> >>>>>> On Sun, Oct 16, 2016 at 8:11 PM, Vivekananthan Sivanayagam < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi , >>>>>>> >>>>>>> The existing connector does not have this option to delete. It >>>>>>> deletes only a single file or given folder, can not work for the >>>>>>> pattern at >>>>>>> the moment. >>>>>>> >>>>>>> Vivekananthan Sivanayagam >>>>>>> Associate Software Engineer | WSO2 >>>>>>> E:[email protected] >>>>>>> M:+94752786138 >>>>>>> >>>>>>> On Sun, Oct 16, 2016 at 5:36 PM, Shazni Nazeer <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Hi all, >>>>>>>> >>>>>>>> Just double checking, if there's a way to bulk delete files using >>>>>>>> the file connector. I tried different options but wasn't able to do >>>>>>>> this. >>>>>>>> >>>>>>>> e.g: Given a pattern, Cal_*.xml, should delete Cal_1.xml, >>>>>>>> Cal_test.xml etc >>>>>>>> >>>>>>>> Do you guys know a way to achieve above using the file connector? >>>>>>>> >>>>>>>> If not, wouldn't this be a useful improvement for the >>>>>>>> file-connector [1] >>>>>>>> >>>>>>>> [1] https://docs.wso2.com/display/ESBCONNECTORS/Working+with >>>>>>>> +the+File+Connector+Version+2 >>>>>>>> >>>>>>>> regards, >>>>>>>> >>>>>>>> Shazni Nazeer >>>>>>>> Associate Technical Lead | WSO2 >>>>>>>> >>>>>>>> Mob : +94 777737331 >>>>>>>> LinkedIn : http://lk.linkedin.com/in/shazninazeer >>>>>>>> Blog : http://shazninazeer.blogspot.com >>>>>>>> >>>>>>>> <http://wso2.com/signature> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Best Regards, >>>>>> >>>>>> Malaka Silva >>>>>> Senior Technical 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 >>>>>> 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 >>>> Senior Technical 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 >>>> 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 > Senior Technical 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 > 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
