Re: NSURL and lingering FTP processes
Re: NSURL and lingering FTP processes
- Subject: Re: NSURL and lingering FTP processes
- From: Daniel Jalkut <email@hidden>
- Date: Mon, 29 Mar 2004 23:12:00 -0800
If you don't mind using an "unsupported" solution, you might try using
the same property as advertised in CFFTPStream. Just write a simple
tool to NSLog the value and pass it verbatim on 10.2 If they didn't
change the property when they made it public, it will probably still
work on 10.2.
If this doesn't work or if you're uncomfortable using an unsupported
solution, you might have to swtich to using CURLHandle or another FTP
solution.
Daniel
On Mar 29, 2004, at 10:53 AM, Joe Lester wrote:
Cool. Unfortunately, the clients that do the downloading are running
10.2. Therefore, they lack the CFFTPStream interface as far as I can
tell. Does anyone know of a solution for 10.2 (aside from upgrading
all 150 clients to 10.3)?
On Mar 28, 2004, at 4:54 PM, Daniel Jalkut wrote:
Hi Joe - I think the underlying FTP implementation defaults to
"keeping connections open" because it helps performance when repeated
requests are made to the same server. The CFFTPStream interface
published with 10.3 has a property for configuring this behavior on
or off.
On Mar 25, 2004, at 8:54 AM, Joe Lester wrote:
Is there anything I'm failing to do on the Cocoa API side that could
be causing the FTP process to remain open? Or, to ask the question
in reverse... Is there anything I can do, at the Cocoa API level, to
make the FTP process gracefully shut down immediately after I'm done
messaging resourceDataUsingCache?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.