cordova-plugin-file
cordova-plugin-file copied to clipboard
Check if file exists on Windows
Is there a way to check if a file exists on Cordova Windows platform root? Trying on Ionic on Windows 10 with no success:
this.file.checkFile('C:\test\\', 'testFile.exe') .then(() => { // TODO: stuff }) .catch((err) => { // TODO: stuf });
no way also using slashes (e.g. C:/test/) or dataDirectory.
Any support will be very very appreciated.