[Q] Http Multipart download

peacemaker

Expert
Licensed User
Longtime User
Hi, All

Any solution how to download HTTP response, returning text and, say, APK-file as parts?

** Service (httputils2service) Create **
** Service (httputils2service) Start **
JobName = GetConfig, Success = true
--3e570504b9
Content-type: text/plain; charset=UTF-8
RESULT=OK
RESULTMSG=OK
--3e570504b9
** Service (httputils2service) Destroy **
 

peacemaker

Expert
Licensed User
Longtime User
Job.GetString
Job.GetInputStream
are possible.

How to parse such response, if, for example, binary file part is very big (5-25 MB APK to be later installed)?
I have to find boundary start and finish...

TextReader and TextWriter loop?
 
Last edited:
Upvote 0
Top