Your question piqued my interest and from what I have seen from looking at the CFTPSample in the Xcode documentation, it seems that everything you need for FTP is in the CoreFoundation framework and doesn't involve Cocoa.
There are still some key things missing from the *MacAPI.CoreFoundation*"import" unit though (which itself - or rather the slew of include files it references - provides some examples of how to create import references for Objective-C functions etc). The things missing for FTP support include things such as * CFReadStreamCreateWithFTPURL* and *CFWriteStreamCreateWithFTPURL*. But as I say, you piqued my interest and so I am in the process of trying to port the Xcode *CFFTPSample* to XE2 as an exercise in identifying such gaps and how to plug them. :) On 14 June 2012 15:18, <[email protected]> wrote: > Thanks for that... Yes the question was incorrectly phrased. > I need to add the ObjC header to the XCode side of the project, which > compiles using FPC. > The functions in the ObjC need to be exposed/extracted so that I can > access them from the .pas unit/s > *Dave Foxcroft* > Senior Programmer > > Ricoh New Zealand Limited | 60 Stanley Street | Parnell | PO Box 68-024 | > Newton | Auckland | New Zealand > Phone: +64 800 80 76 76 | Fax: +64 9 368 6001 | Mobile: +64 21 801 086 > *www.ricoh.co.nz* <http://www.ricoh.co.nz> > > > > * ISO 14001 Environmental Certification* > One of the *Global 100* <http://www.global100.org/> Most > Sustainable Corporations in the World > > > This email message and any accompanying attachments may contain > information that is confidential and is subject to legal privilege. If you > are not the intended recipient, do not read, use, disseminate, distribute > or copy this message or attachments. If you have received this message in > error, please notify the sender immediately and delete this message. Any > views expressed in this message are those of the individual sender, except > where the sender expressly, and with authority, states them to be the views > of Ricoh New Zealand Limited. Before opening any attachments, please check > them for viruses and defects. > > Ricoh New Zealand Limited and/or its employees shall not be liable for the > incorrect or incomplete transmission of this email or any attachments, nor > be responsible for any delay in receipt. > ------------------------------ > > Scanned by *MailMarshal* - Marshal's comprehensive email content security > solution. Download a free evaluation of MailMarshal at www.marshal.com > > ** > ------------------------------ > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [email protected] with > Subject: unsubscribe >
<<image/gif>>
<<image/jpeg>>
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
