CFFTPSample

Last Revision:
Version 1.2, 2006-10-13
Fixed a crash when CFFTPCreateParsedResourceListing returned a positive value but a NULL dictionary (r. 4533718). Follow CFNetwork best practice by only reading only one chunk of data per callback (r. 4515194). Terminate FTP upload in recommended fashion (by closing the stream rather than writing zero bytes). General tidy up.
(Full Revision History)
Build Requirements:
Xcode 2.4 or later
Runtime Requirements:
Mac OS X 10.3.9 or later

CFFTPSample demonstrates how to use CFNetwork to download and upload files using FTP, as well as how to parse FTP directory listings.