11 years, 4 months ago.

send a large file through HTTP post request

/media/uploads/df611/file.cpp Guys I'm trying to send a data stream to a web server which stores them in a local database. Please find below my most recent code. I can upload data using HTTP map because I can map a key to the string I'm sending and my server will recognise this string as it also knows the key. The problem with HTTP map is that I can't send large streams. It's optimal to store the string in HTTP Text which is more convenient for files. Problem: This file isn't mapped to anything so my server doesn't receive it. Can anyone with a decent understanding of the HTTP protocol guide me as to what the next step is? I'm assuming i must modify the HTTP header or something like that.

Be the first to answer this question.