Version: 1.2

Posted: 2006-10-13

Build Requirements: Xcode 2.4 or later

Runtime Requirements: Mac OS X 10.3.9 or later

View Source Code:

Download Sample (“CFFTPSample.zip”, 40.7K)
Download Sample (“CFFTPSample.dmg”, 103.5K)



Description

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

Document Revision History

Date Notes
2006-10-13Fixed 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.
2006-03-31Corrected a production problem that dropped the project file and built binary.
2004-08-07A simple example showing how to use CFFTPStream to download and upload files.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.