You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/05 14:18:25 UTC

[GitHub] [cordova-plugin-file] maxborgatti opened a new issue #395: Check if file exists on Windows

maxborgatti opened a new issue #395:
URL: https://github.com/apache/cordova-plugin-file/issues/395


   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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org