Re: programmatically delete a file on ftp server
Re: programmatically delete a file on ftp server
- Subject: Re: programmatically delete a file on ftp server
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 06 May 2011 17:54:55 -0600
On May 6, 2011, at 5:21 PM, Rainer Standke wrote:
> Hello,
>
> I am figuring out how to get a directory listing (via CFFTPStream) and how to download a file from an ftp server (via NSURLConnection). How would I go about deleting a file on an ftp server?
The CFFTPStream API is only good for listing directories and transferring files from/to FTP servers. If you need anything more advanced than that, then you either need to use a third-party library such as libcurl, or command a third-party FTP client to delete the file using AppleScript, or read RFC 959 and do it yourself at a low level.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden