• 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
How to use CFFTP API to get current working directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use CFFTP API to get current working directory


  • Subject: How to use CFFTP API to get current working directory
  • From: Shehryar Khan <email@hidden>
  • Date: Wed, 14 Feb 2007 17:30:25 -0800


What mechanism does the CFFTP API provide to get at the current working directory on the remote server?


For example connecting to my local FTP server on Mac OS X defaults me to /Users/khans.

If I wanted to create a directory or upload a file into the /Users/ folder on the remote FTP server, knowing that the working directory on the remote server was /Users/khans would allow be to construct the following url

ftp://localhost/../

which could then be passed down to the appropriate API on CFFTPStream to perform the requested action.

Advice, suggestions appreciated.

thanks!

-shehryar




_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How to use CFFTP API to get current working directory
      • From: Ben Artin <email@hidden>
  • Prev by Date: CFSocketConnectToAddress() returning kCFSocketError (-1)
  • Next by Date: Re: How to use CFFTP API to get current working directory
  • Previous by thread: CFSocketConnectToAddress() returning kCFSocketError (-1)
  • Next by thread: Re: How to use CFFTP API to get current working directory
  • Index(es):
    • Date
    • Thread