How to suspend and resume an ASIHttpRequest for upload (not for download)?

In my code, I am sending an ASIHTTPRequest, in which I am sending the file as an NSData object. I have to provide the options of suspend and resume for the upload of a file. Is there any way to do that? I found the code for resume of download, but it can not be used for upload.

If it is not possible using ASIHTTPRequest, then is there any way to do that using NSURLRequest or in any other way in Cocoa for Mac OS X app (not for iPhone).

Thanks

Answers


Quoting Yahia's comment as this is the correct answer:

IIRC POST doesn't support suspend and resume (according to HTTP standard)... this means that this is "non-standard" in which case I could only speculate and you are better off checking the documentation of that server on how to implement it


Need Your Help

How to search through arraylist containing string, int and double with JTextField and JButton

java search user-interface netbeans arraylist

I currently have a working GUI program that has a few buttons on it to simply step through my arraylist of items. These simply display the first, last or next and previous index results. This list ...