cordova-plugin-file icon indicating copy to clipboard operation
cordova-plugin-file copied to clipboard

Check if file exists on Windows

Open maxborgatti opened this issue 4 years ago • 0 comments

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.

maxborgatti avatar Jun 05 '20 14:06 maxborgatti