• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best way to implement FTP Upload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to implement FTP Upload


  • Subject: Re: Best way to implement FTP Upload
  • From: Ryan McGann <email@hidden>
  • Date: Fri, 25 Jul 2003 01:13:44 -0700

On Wednesday, July 23, 2003, at 10:00 PM, Pranav Kumar Sahu wrote:

I want to upload a file/folder to an FTP server. I need to integrate
this in my existing App(Carbon). I saw some documentation on
URLAccessManager. Is there any other/better way that Mac provides to
implement this feature ?
If you want to use FTP, and you are a Carbon Mac OS X-only Mach-O application, you should look into curl. libcurl.a is installed on Mac OS X by default I believe, and it supports FTP and HTTP transfers. Look at /usr/include/curl/curl.h. The curl library isportable across many Unicies, so lots of sample code exists for it on the Web.

If you are using CFM, this is still possible, but you'll need to create a Mach-O bundle which accesses the curl funcitons, and dynamically load the bundle from within your application. There's plenty of sample code on how to do that.

Ryan

Ryan McGann
Macintosh Internet Security
Symantec Corporation
email@hidden
Office: email@hidden
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: WebServices && SSL && servers with un-trusted certificates
  • Next by Date: interfaces and ipv6 again...
  • Previous by thread: Best way to implement FTP Upload
  • Next by thread: RE: Best way to implement FTP Upload
  • Index(es):
    • Date
    • Thread