Downloading file with ASIHTTPRequest - iPhone app
Posted
by lostInTransit
on Stack Overflow
See other posts from Stack Overflow
or by lostInTransit
Published on 2010-04-28T13:48:24Z
Indexed on
2010/04/28
13:53 UTC
Read the original article
Hit count: 494
Hi
I am using the ASIHTTPRequest source code to download a file from a remote location. Surprisingly, the download happens but nothing happens after that. I have put in a log statement in the handleBytesAvailable method and can see the entire file worth of data is downloaded in parts and added to the fileDownloadOutputStream variable.
But once all the bytes have been downloaded, nothing happens. The delegate methods are not called (neither fail, nor success).
Can someone please tell me what is happening? Or what is the correct way to download a file from a remote server using ASIHTTPRequest?
Thanks.
© Stack Overflow or respective owner