[Mac_crypto] Re: How to upload dictionary to online URL

R. A. Hettinga mac_crypto@vmeng.com
Sat, 29 May 2004 18:36:46 -0400


--- begin forwarded text


Cc: Cocoa-Dev List <cocoa-dev@lists.apple.com>
From: Nicko van Someren <nicko@nicko.org>
Subject: Re: How to upload dictionary to online URL
Date: Sat, 29 May 2004 22:51:57 +0100
To: Keith Renz <keith@crewdog.com>
Sender: cocoa-dev-admin@lists.apple.com
List-Id: Discussions regarding native Mac OS X application development
using Cocoa frameworks. <cocoa-dev.lists.apple.com>
List-Post: <mailto:cocoa-dev@lists.apple.com>
List-Help: <mailto:cocoa-dev-request@lists.apple.com?subject=help>
List-Subscribe: <http://www.lists.apple.com/mailman/listinfo/cocoa-dev>,
	<mailto:cocoa-dev-request@lists.apple.com?subject=subscribe>

On 29 May 2004, at 14:53, Keith Renz wrote:

> On May 29, 2004, at 8:36 AM, Satoshi Matsumoto wrote:
>
>>  - (BOOL)writeToURL:(NSURL *)aURL atomically:(BOOL)flag
...
> I have tried and tried, but it will not upload, even to a very simple
> URL:
>
> ftp://ftp.crewdog.com/html/xxx.plist

I've never been able to get writeToURL: to work to anything other than
a local URL either.  Worse, I've not been able to find any
documentation that states what URL schemes are expected to work.  Given
the recent discussions around here on the fact that the NSURLRequest
code does not support PUT, despite looking like it should, I suspect
that the plan is for this to all work one day but at the moment it does
not.

It would be really helpful if someone from Apple could let this list
know (a) what URL schemes are expected to work in the context of
-writeToURL:... calls in 10.3 or before and (b) what the intention is
for this in the future.  I recently ran into the inability to use this
to send stuff to an FTP URL for a little web-cam program and it would
save me a big chunk of effort if it worked.

Cheers,
	Nicko
_______________________________________________
cocoa-dev mailing list | cocoa-dev@lists.apple.com
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

--- end forwarded text


-- 
-----------------
R. A. Hettinga <mailto: rah@ibuc.com>
The Internet Bearer Underwriting Corporation <http://www.ibuc.com/>
44 Farquhar Street, Boston, MA 02131 USA
"... however it may deserve respect for its usefulness and antiquity,
[predicting the end of the world] has not been found agreeable to
experience." -- Edward Gibbon, 'Decline and Fall of the Roman Empire'