Stream multiple files in _one_ ASIHTTPRequest
Posted
by Snej
on Stack Overflow
See other posts from Stack Overflow
or by Snej
Published on 2010-04-04T12:01:11Z
Indexed on
2010/04/04
12:03 UTC
Read the original article
Hit count: 556
What is best practice to stream multiple files in one ASIHTTPRequest?
Right now, for one file I use:
....
ASIHTTPRequest *request = [[ASIHTTPRequest alloc] initWithURL:someUrl];
[request setShouldStreamPostDataFromDisk:YES];
[request appendPostDataFromFile:someFilePath];
[request startSynchronous];
How to stream multiple files without placing all files in memory before transmission?
© Stack Overflow or respective owner