ferdianarief commented on PR #566:
URL: 
https://github.com/apache/cordova-plugin-file/pull/566#issuecomment-2088222349

   thanks @breautek  for quick response,
   
   ![Screen Shot 2024-05-01 at 16 43 
31](https://github.com/apache/cordova-plugin-file/assets/168358294/9d8ab120-3f45-4347-8b53-dc7af827ad74)
   
   copying file is unseccessful, and this is my code
   
   window.resolveLocalFileSystemURL(docPath,function (fileEntry)
       {
                console.log(JSON.stringify(fileEntry));
           window.resolveLocalFileSystemURL(cordova.file.dataDirectory,function 
(directory)
           {              
                        console.log(JSON.stringify(directory))    
              fileEntry.moveTo(directory, newFileName,function(){
                   alert('Successful Copy!');
               },
               function()
               {
                   alert('Copying Unsuccessful ');
               });
           },null);
       }, null);
        
   
   
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

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


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

Reply via email to