Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Find files using wildcards or regular expressions

$
0
0

@wshaheer wrote:

I am using the Cordova 'File' plugin along with the ngCordova 'File' AngularJS wrapper. I'm trying to use a wildcard to find all matching files in a given directory. Below is a sample code:

$cordovaFile.checkFile(path, '*.csv').then(function success(obj) {
  // do something
}, function error(err) {
  // something else
});

Performing this I get the 'NOT_FOUND_ERR', Is it at all possible to do something like this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>