Hi GG,

Thanks for your reply.

 

> When you say "resuming to connect the same file", do you mean you're 
> trying to reopen the same CFReadStream that was created earlier and 
> subsequently closed?
> 
> If that's what you're doing, then it won't work. Refer to the docs 
> for CFReadStream:
> 
> http://developer.apple.com/documentation/CoreFoundation/Reference/ 
> CFReadStreamRef/index.html

 

In fact, when I am trying to accomplish the resume function, I do two steps.

Firstly, I will close the CFReadStream with CFReadStreamClose.

Secondly, I will use a new CFReadStream, and perform all the same setup as I 
did before 

to download the same file, meanwhile I am using 
kCFStreamPropertyFTPFileTransferOffset to

offset the length of file data that I have downloaded.

Even though, I still got the error code 530.

And I really hope that you give me some advice to solve the problem when using 
CFReadStream.

You suggest that curl be powered by libcurl for all transfer-related features I 
will consider about it.

Best Regards,

Chris.

_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to