iOS Question Copy Entire Folder in B4i?

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Anyone knows how we can copy a entire folder to another folder?

I see in B4a can copy one by one. Any way to do this easily?

like something this in linux:
B4X:
cp -rf iDeb.app /tmp


B4X:
For Each f As String In File.ListFiles("folder")
   If File.IsDirectory("folder", f) = False Then
    File.Copy("folder", f, ...)
   End If
Loop
 

imbault

Well-Known Member
Licensed User
Longtime User
Hi Alberto,

I had to deal with the same question, then I wrote a folder copy routine, using B4i file primitives fonctions
 
Upvote 0
Top