ashphy coding

We have a right of coding.

Menu

Skip to content
  • Home

Tag Archives: CFURLAccess

Delete file on FTP Server with CFNetwork

There is a easy way to delete the file located at FTP server using CFNetwok framework.
After access the server, run the following code.

SInt32 errorCode;
Boolean success = CFURLDestroyResource(url, &errorCode);

CFURLDestroyResource is defined by CFURLAccess.h

Good luck.

August 17, 2011ashphy CFFTPStream, CFNetwork, CFURLAccess, Core Foundation, iOS SDK 1 Comment
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • ashphy coding
    • Already have a WordPress.com account? Log in now.
    • ashphy coding
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar