• 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: CFNetwork FTP: Renaming Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFNetwork FTP: Renaming Files


  • Subject: Re: CFNetwork FTP: Renaming Files
  • From: Scott Gaston <email@hidden>
  • Date: Tue, 13 Jun 2006 13:17:16 -0500

> There is no supported way to do what you want with CFFTPStream. The
> current APIs allow you to upload files, download files, create new
> directories, and download directory listings.

Hey Jim,

Thanks for your response.  After looking through the headers, I had come to
this conclusion.

I started working on a CFStream solution.  I am pretty confident that I can
get the job done with this approach.  However, it would be helpful if I
could obtain the control socket (CFSocket or native) from the CFWriteStream
created via CFWriteStreamCreateWithFTPURL.  Calling
CFWriteStreamCopyProperty using kCFStreamPropertySocketNativeHandle returns
the data socket (as one would expect).

Without getting into too much detail, I need to upload the file to one
directory and then move it to another.  I want to do this without connecting
to the FTP server multiple times.  However, I have not seen a way to supply
a control socket to the CFFTP methods nor obtain one from the CFFTP methods.
The other option is to not use CFFTPStream at all and to create my own data
connection.

Suggestions?

Thanks.
Scott

 _______________________________________________
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: CFNetwork FTP: Renaming Files
      • From: Frederick Cheung <email@hidden>
References: 
 >Re: CFNetwork FTP: Renaming Files (From: Jim Luther <email@hidden>)

  • Prev by Date: Re: Leaky bucket algorithm
  • Next by Date: Fwd: OSX 10.4 does not support IPv4 multicast routing protocol????
  • Previous by thread: Re: CFNetwork FTP: Renaming Files
  • Next by thread: Re: CFNetwork FTP: Renaming Files
  • Index(es):
    • Date
    • Thread