rossati Active Member Licensed User Longtime User Feb 26, 2017 #1 Hello my be is my error, but I am unable to send more of one file whith PostMultipart. Obviusly my File list contains more than one file, but only the last is sent. Thanks John Rossati
Hello my be is my error, but I am unable to send more of one file whith PostMultipart. Obviusly my File list contains more than one file, but only the last is sent. Thanks John Rossati
alimanam3386 Active Member Licensed User Longtime User Feb 26, 2017 #2 did you see this solution ? Upvote 0
rossati Active Member Licensed User Longtime User Feb 27, 2017 #3 Thanks to alimanam and DonManfred My mistake was to create and initialize MultipartFileData once i.e: Dim fl As MultipartFileData fl.Dir = File.DirDefaultExternal files.Initialize If pictures.size > 0 Then For i = 0 To pictures.size - 1 Upvote 0
Thanks to alimanam and DonManfred My mistake was to create and initialize MultipartFileData once i.e: Dim fl As MultipartFileData fl.Dir = File.DirDefaultExternal files.Initialize If pictures.size > 0 Then For i = 0 To pictures.size - 1
rossati Active Member Licensed User Longtime User Feb 27, 2017 #4 Instead I corrected in: If pictures.size > 0 Then For i = 0 To pictures.size - 1 Dim filePath As Map = fg.pathinfo(pictures.GetKeyAt(i)) Dim fl As MultipartFileData fl.Initialize ... And all pictures was sent. John Rossati Upvote 0
Instead I corrected in: If pictures.size > 0 Then For i = 0 To pictures.size - 1 Dim filePath As Map = fg.pathinfo(pictures.GetKeyAt(i)) Dim fl As MultipartFileData fl.Initialize ... And all pictures was sent. John Rossati
DonManfred Expert Licensed User Longtime User Feb 27, 2017 #5 Please use code tag when posting code! Upvote 0