FileTools : Some tools to work with files

Why not use Copy or Move method?

I need to move a folder & replace all file inside with same name. But not others file inside. Can u suggest me how to do it. Your extension is not replacing folder files

Copy block can over write the files and Move block can replace the files

your file name and destination path file name should be same to overwrite or replace file

Can you give me a Demo app with the coding you said

On android 11 copy txt file not working
Copy file from android/data/packagename/test.txt to storage/emulated/0/test.txt
Please reply

How can I save txt file on external storage like
/storage/emulated/0/test.txt

Please reply how can i rename a file using this extension

As you are testing on Android 11 so does your app own those files? Were they downloaded from your app?

Is it work with android 11

Is it worked on android 11

Only if files belong to your app.

  • What kind of file (media / non media)?
  • Where is this file located?
  • Where does this file come from?

Show your relevant blocks.

Answer all questions:

Android/obb
Actually the app is for my own purpose no need to publish