A Almog Active Member Licensed User Sep 16, 2018 #1 Hello, Does anybody know how to copy all files from one folder (for example dirInternal -> folder1 ) to another folder (for example dirInternal -> folder2 )? Thanks in advance
Hello, Does anybody know how to copy all files from one folder (for example dirInternal -> folder1 ) to another folder (for example dirInternal -> folder2 )? Thanks in advance
GeoT Active Member Licensed User Longtime User Sep 16, 2018 #2 Hi. Klaus gave the solution in https://www.b4x.com/android/forum/threads/copy-file-not-working.28484/#post-165503 But if there are subfolders it is somewhat more complicated. Upvote 0
Hi. Klaus gave the solution in https://www.b4x.com/android/forum/threads/copy-file-not-working.28484/#post-165503 But if there are subfolders it is somewhat more complicated.
A Almog Active Member Licensed User Sep 16, 2018 #3 GeoT said: Hi. Klaus gave the solution in https://www.b4x.com/android/forum/threads/copy-file-not-working.28484/#post-165503 Click to expand... Thank you Upvote 0
GeoT said: Hi. Klaus gave the solution in https://www.b4x.com/android/forum/threads/copy-file-not-working.28484/#post-165503 Click to expand... Thank you
A Almog Active Member Licensed User Sep 16, 2018 #4 GeoT said: Hi. Klaus gave the solution in https://www.b4x.com/android/forum/threads/copy-file-not-working.28484/#post-165503 But if there are subfolders it is somewhat more complicated. Click to expand... There is a solution for subfolders? Thanks in advance Upvote 0
GeoT said: Hi. Klaus gave the solution in https://www.b4x.com/android/forum/threads/copy-file-not-working.28484/#post-165503 But if there are subfolders it is somewhat more complicated. Click to expand... There is a solution for subfolders? Thanks in advance
A Almog Active Member Licensed User Sep 16, 2018 #5 GeoT said: Hi. Klaus gave the solution in https://www.b4x.com/android/forum/threads/copy-file-not-working.28484/#post-165503 But if there are subfolders it is somewhat more complicated. Click to expand... Mabye using File.Combine? Upvote 0
GeoT said: Hi. Klaus gave the solution in https://www.b4x.com/android/forum/threads/copy-file-not-working.28484/#post-165503 But if there are subfolders it is somewhat more complicated. Click to expand... Mabye using File.Combine?
GeoT Active Member Licensed User Longtime User Sep 16, 2018 #6 It depends on the number of subfolders. I guess creating more lists and strings. And putting an else. And do this recursive sub, which calls itself. Upvote 0
It depends on the number of subfolders. I guess creating more lists and strings. And putting an else. And do this recursive sub, which calls itself.
GeoT Active Member Licensed User Longtime User Sep 16, 2018 #7 You were right. The File.Combine is also used in the Erel solution: https://www.b4x.com/android/forum/threads/b4x-copyfolder.69820 Upvote 0
You were right. The File.Combine is also used in the Erel solution: https://www.b4x.com/android/forum/threads/b4x-copyfolder.69820