Dynamic Web TWAIN: How to upload multiple images in one upload

Scenario

Some customers may want to upload multiple images within one upload call, but may not want to use a multipage PDF or Tiff.

Solution

Multiple upload is not built directly into the SDK but there is a work around for allowing it to be done. One such way is to save all but one of the images to Base64 bit strings then call SetHTTPFormField()  to input the extra images into the form field of the first image.

Once the server receives the image it can decode the form field and store the images in their base64 bit form.