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.
Thanks for your response. After looking through the headers, I had
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
could obtain the control socket (CFSocket or native) from the
created via CFWriteStreamCreateWithFTPURL. Calling
CFWriteStreamCopyProperty using kCFStreamPropertySocketNativeHandle
the data socket (as one would expect).
Even if you can get the socket (perhaps poking around in the source
will help you), I imagine you'd end up mightily confusing CFFTP's
state engine. Depending on the licensing of your software it might be
appropriate for you to modify CFFTPStream to support the extra
functionality you require.
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
to the FTP server multiple times. However, I have not seen a way
a control socket to the CFFTP methods nor obtain one from the CFFTP
The other option is to not use CFFTPStream at all and to create my
That's what I did (although the case was much strong in my case since
i needed a lot of other featues
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