Re: CFNetwork FTP: Renaming Files
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