narek adonts Well-Known Member Licensed User Longtime User Sep 8, 2015 #1 Hi, I am trying to upload an Image to the server. I am trying to upload it with httpjob.PostFile. I would like to upload also a small thumbnail of that image with the same request. I tried to pass the thumbnail image with base64 string within the URL parameters but without success( URI too long). How can I achieve to upload 2 Files with the same request? Narek
Hi, I am trying to upload an Image to the server. I am trying to upload it with httpjob.PostFile. I would like to upload also a small thumbnail of that image with the same request. I tried to pass the thumbnail image with base64 string within the URL parameters but without success( URI too long). How can I achieve to upload 2 Files with the same request? Narek
Erel B4X founder Staff member Licensed User Longtime User Sep 8, 2015 #2 How is the server implemented? Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Sep 8, 2015 #3 B4J jetty with Handlers Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 8, 2015 #4 Simplest solution is to zip both files with the Archiver library and then unzip them on the server. Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Sep 8, 2015 #5 I decided to implement this with 2 requests instead of 1. Upvote 0