Hi Margret,
For some reason I'm not getting that FTP_ProcessComplete work, could you post an "functional" example.
I'm using for development B4A and v2.52 Android SDK 4.2.2 - API 17 and test phone is a Samsung GT-S56500L with Android 2.3.6.
:sign0085: The code I'm using is:
Sub FTPUpload
FTP.Initialize (Activity, Me, "www.zzzzzz.com.py", "zzzzzz", "zzzzzz", 21, True, False)
FTP.SetText("BAJANDO DEL FTP", "SUBIENDO AL FTP", "procesados", "procesando", "CANCELAR", "CONCLUIDO")
FTP.UploadFileSet("/var/conf/ventas/files/", Array As String(File.DirRootExternal & "/ventas_log/*.zip"))
End Sub
Sub FTP_ProcessComplete
Log("datos enviados")
Dim borrar As String
LISTx.Initialize
LISTx = File.Listfiles(File.DirRootExternal & "/ventas_log/")
LISTx.SortCaseInsensitive(True)
For i = 0 To LISTx.Size -1
borrar = LISTx.Get(i)
If borrar.EndsWith(".zip") = True Then 'solo los zipeados
File.Delete(File.DirRootExternal & "/ventas_log/",LISTx.get(i))
Log("borrando " & File.DirRootExternal & "/ventas_log/" & " - " & LISTx.Get(i))
End If
Next
End Sub
*TIA*



