Mailing Lists: Apple Mailing Lists

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

Re: FTP with URLSimpleDownload isn't working for me



On Jan 25, 2005, at 4:12 PM, Bryan Pietrzak wrote:


On Jan 25, 2005, at 3:54 PM, Wells, Terry C wrote:

If anyone has any thoughts or suggestions on how I can get something working that satisfies my project requirements, I'd really appreciate it.

Two suggestions:

1) Check out CFNetwork. URLAccess is deprecated and nowhere as capable as CFNetwork.

Having gone down the same road as you before, I agree with #1 100%. In real use, I found URLSimpleDownload to be wholly unreliable. It would return errors for no apparent reason (as an example, I'd put URLSD into a loop, downloading the same file a number of times, and it would fail randomly,) the error codes returned in many cases weren't applicable, defined or helpful, and the "all or nothing" approach to getting a file made figuring out what was going wrong impossible.


I ended up writing my own substitute class using CFStreams and was very happy with the results.


dale

--
a.d. jensen
Aatrix Software, Inc.
email@hidden   http://www.aatrix.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >FTP with URLSimpleDownload isn't working for me (From: "Wells, Terry C" <email@hidden>)
 >Re: FTP with URLSimpleDownload isn't working for me (From: Bryan Pietrzak <email@hidden>)



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.