Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURL upload?



Hi,
NSURL (and NSURLHandle) work great for downloading, but is there any support for http uploads (PUT)? Initially I tried NSURL setResourceData: and NSURLHandle writeData: but neither of those worked. I then tried CFURLWriteDataAndPropertiesToResource() and eventually, URLSimpleUpload(). None of them worked. So....
Should any of them have worked (maybe I missed an error in my own code)? If not, are there any libraries out there that would do this (I've already looked at curl)? I could write the code myself, but I'd rather avoid duplicating someone else's efforts.

Thanks in advance for any help,
Matt




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.