Hi all,

I'm still getting comfortable with NSURLConnection and the related classes as well as the CFStream classes for reading and writing files via FTP. I think I've got it down, now, but I have one hiccup I'd like to solve. What's the best way to see if a file already exists on the remote server? I'd like to let the user confirm the overwrite before just blasting it away.

I've tried creating and opening a stream with CFReadStreamCreateWithFTPURL and that doesn't seem to act differently if the file exists or not. It seems silly to open the file, wait for it to open, and then start reading just to discover if anything is there. Is there an easier way I'm missing?

Thanks,

Wyatt
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to