Re: [Dev] Bulk deleting files with a pattern in file connector

2016-10-17 Thread Vivekananthan Sivanayagam
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]

Re: [Dev] Bulk deleting files with a pattern in file connector

2016-10-17 Thread Malaka Silva
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 wrote: > HI Vivekanandan, > > I implemented this intentionally and had the same concern whether it > should be recursive. I thought it

Re: [Dev] Bulk deleting files with a pattern in file connector

2016-10-17 Thread Shazni Nazeer
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

Re: [Dev] Bulk deleting files with a pattern in file connector

2016-10-17 Thread Vivekananthan Sivanayagam
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

Re: [Dev] Bulk deleting files with a pattern in file connector

2016-10-17 Thread Malaka Silva
Thx Shazni, @Vivekananthan - Can you please check and release. On Mon, Oct 17, 2016 at 6:36 PM, Shazni Nazeer wrote: > Hi Malaka, > > Please find the created jiira below and the PR in [2] > > [1] https://wso2.org/jira/browse/ESBCONNECT-135 > [2]

Re: [Dev] Bulk deleting files with a pattern in file connector

2016-10-17 Thread Shazni Nazeer
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 37331 LinkedIn : http://lk.linkedin.com/in/shazninazeer

Re: [Dev] Bulk deleting files with a pattern in file connector

2016-10-16 Thread Malaka Silva
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 < vivekanant...@wso2.com> wrote: > Hi , > > The existing connector does not have this option to delete. It deletes > only a single file or

Re: [Dev] Bulk deleting files with a pattern in file connector

2016-10-16 Thread Vivekananthan Sivanayagam
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:vivekanant...@wso2.com M:+94752786138 On Sun, Oct 16, 2016 at 5:36 PM,

[Dev] Bulk deleting files with a pattern in file connector

2016-10-16 Thread Shazni Nazeer
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