|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 13 Jun 2006, at 19:17, Scott Gaston wrote:
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.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 oneThat's what I did (although the case was much strong in my case since i needed a lot of other featues
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.
Fred _______________________________________________ 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
| References: | |
| >Re: CFNetwork FTP: Renaming Files (From: Scott Gaston <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.