Upload a list of files for FTP

mrjaw

Active Member
Licensed User
Longtime User
Hi!
I am trying to upload a list of photos to my FTP using Net lib. This is the code that I using.
B4X:
For i=0 To fotos.Size-1
      FTP.UploadFile(File.DirRootExternal,fotos.Get(1),False,fotos.Get(1))
   Next

My problem is that I upload just one photo. I dont know if it leave in queue the different files.

Any cluees to upload a list of files ?
 
Top