Questions tagged [multipart]

Multipart is content type that allows multiple MIME types to be embedded in a single message.

Commons uses of multipart subtypes include:

References

1904 questions
0
votes
1 answer

Unzipping Multipart file with and without subdirectories

Unzipping multipart file with and without subdirectories since I am not giving any instruction to user to how to zip the file therefore I need to find/search all files from Zip file which might have directories and subdirectories and keeping all…
Kramer
  • 389
  • 8
  • 34
0
votes
1 answer

VSTO Outlook Plugin updates Appointment.Body and thus Outlook shows text instead of html part of multipart message

I receive multipart invitations which include calendar and text and html part. When I open those invitation mails in outlook it shows the html part. Now my code updates the text part with: myAppointment.Body =…
HHeckner
  • 4,722
  • 4
  • 23
  • 33
0
votes
1 answer

Adding non-predetermined number of files with their respective meta data through jersey API

I am working on a Jersey API which has to take in the input of multiple files along with some details about them. For eg. For every image there will be the name of the person who clicked it, the category to which it belongs,the location where the…
meowth
  • 43
  • 1
  • 2
  • 10
0
votes
2 answers

'multipart/form-data' not working

I'm using Laravel and trying to build a gallery, i'm testing the upload of a file but i when i attach a file and click submit i can't get a positive outcome using the test set up. The code is below GalleryController // Store Gallery public…
c330
  • 5
  • 1
  • 3
0
votes
0 answers

Python 3: MimeMessage creation, works and doesn't work depending on the email system

I'm working on producing a quick newletter based on templates, local files, and files on the web. I "almost" have it working. I've distilled the problem code to the following block. I'm just learning Python, and am using Python 3.6. My newsletter…
Linus12
  • 43
  • 6
0
votes
1 answer

Reading multipart memory stream into file

I have a sample code from one of the plugin I was trying. HttpResponseMessage hrm = client.PostAsync(uri, content).GetAwaiter().GetResult(); if (hrm.StatusCode == HttpStatusCode.OK) { MultipartMemoryStreamProvider provider =…
jitendragarg
  • 945
  • 1
  • 14
  • 54
0
votes
0 answers

Fixed chunk size S3

Can I change chunk size to allways be the same ? What I need is fixed chunk size to always be 100mb. I want to send files from browser without passing it throught server. I use signature 4. It would be cool if we could restrict max file size and…
sonic
  • 1,282
  • 1
  • 9
  • 22
0
votes
0 answers

how to send file in json with other data in node js

I am working on some module where I am stuck with this question. I am using request module in node js. I have many example but they just sends only the file(not in json). I have working code in Java. Just trying how to do the same in node js …
0
votes
0 answers

Error while uploading file to Spring Boot app: "Unable to process parts as no multi-part configuration has been provided"

Here is the Upload Controller that I am trying to read the .ods file with. I am reading each cell one by one through Java Workbook. @RestController public class UploadController { @ApiOperation(value = "Upload mappings excel file", notes =…
Guneet
  • 209
  • 1
  • 4
  • 12
0
votes
0 answers

Initiate Multipart upload to S3 Version 4 Method Not allowed err.code 405

I have tried everything. It works well for GET AND PUT requests. But with POST (to initiate multipart request) it throws various error like 405 Method not allowed or Signature Mismatch error. Any help is appreciated and welcome. Please if anyone…
Sahil Deswal
  • 66
  • 2
  • 6
0
votes
2 answers

Multipart body is null

In my app I am setting multipart body as following. File file = new File(selectedImageUri); RequestBody requestBody = RequestBody.create(MediaType.parse("audio/mpeg"), file); MultipartBody.Part body = MultipartBody.Part.createFormData("",…
A.S
  • 798
  • 1
  • 10
  • 32
0
votes
1 answer

send a picture with alamofire /mulipart

how can I send a picture with multipart? I tested this code but the server saying that : Object reference not set to an instance of an object. where is the problem? or any one can suggest a new code that I can try... I'm working on it for three…
0
votes
1 answer

upload multiple photos using retrofit 2

I'm working on demo where user can click multiple photo and upload into server so i created list where i'm storing all images but while hitting API end Point i'm getting Exception. gone through multiple image upload using retrofit 2 but unable to…
user9923632
0
votes
1 answer

multipart form encoding a string with PHP

I am writing PHP code to send XML string data to a site using HTTP post with the encType: multipart/form-data encoding. I am thinking of using PHP's http_post_data function. Before sending the data, I believe I need to encode it, but I cannot see a…
Nigel
  • 585
  • 1
  • 5
  • 20
0
votes
2 answers

Dynamic Chunked Response in NodeJS

Given the following javascript pseudo code (example 1), as you can see, there are 3 async streams which in turn write to the response. They will of course write to the response in an async way, so the order of the chunks is not kept (it is actually…
Hitmands
  • 13,491
  • 4
  • 34
  • 69