1
Network / HTTP Stream Response
« on: July 07, 2015, 11:55:16 am »
Hey guys I am trying to download an installer via HTTP.
My issue is since the installer can be quite large (currently 400MB with the possibility of growing), when the response is recieved the memory usage jumps as high as 900MB and my program crashes.
I am trying to flush the binary response to a file, so I can make a sillent install later on.
Is it possible to make the response streaming via the HTTP protocol (I am trying to avoid using ftp as that would mean dropping SFTP for FTP protocol, having a dedicated account for the download and so on).
Any suggestions on how to resolve my issue would be greatly appreciated.
Thanks
PS: Awesome Library
My issue is since the installer can be quite large (currently 400MB with the possibility of growing), when the response is recieved the memory usage jumps as high as 900MB and my program crashes.
I am trying to flush the binary response to a file, so I can make a sillent install later on.
Is it possible to make the response streaming via the HTTP protocol (I am trying to avoid using ftp as that would mean dropping SFTP for FTP protocol, having a dedicated account for the download and so on).
Any suggestions on how to resolve my issue would be greatly appreciated.
Thanks
PS: Awesome Library