My code is:
sFTP.Initialize(Activity,Me,IP Address,UserID,Password,21,True,False)
sFTP.SetCompletedUploadDialog(True,"Uploads Completed...")
sFTP.SetProcessCompleteOn(True)
sFTP.UploadFileSet("/uploads/",Array As String(File.DirRootExternal & "/7-150415110145.jpg",File.DirRootExternal & "/th7-150415110145.jpg"),False)
Which causes the error:
java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
I can't figure out what is wrong.
I seem to be duplicating the example (except for wild cards) given for UploadFileSet.
Any help would be greatly appreciated.
Thank you,
sFTP.Initialize(Activity,Me,IP Address,UserID,Password,21,True,False)
sFTP.SetCompletedUploadDialog(True,"Uploads Completed...")
sFTP.SetProcessCompleteOn(True)
sFTP.UploadFileSet("/uploads/",Array As String(File.DirRootExternal & "/7-150415110145.jpg",File.DirRootExternal & "/th7-150415110145.jpg"),False)
Which causes the error:
java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
I can't figure out what is wrong.
I seem to be duplicating the example (except for wild cards) given for UploadFileSet.
Any help would be greatly appreciated.
Thank you,