• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to upload dictionary to online URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to upload dictionary to online URL


  • Subject: Re: How to upload dictionary to online URL
  • From: Satoshi Matsumoto <email@hidden>
  • Date: Sun, 30 May 2004 08:05:57 +0900

Hi Keith,

on 04.5.30 6:51 AM, Nicko van Someren at email@hidden wrote:
>> 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.

I have tested the writeToURL for a remote URL with following code.

NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
@"content1", @"key1",
@"content2", @"key2",
nil];
NSURL *url = [NSURL
URLWithString:@"ftp://<username>:<password>@<host>/<path>"];
BOOL done = [dict writeToURL:url atomically:YES];


But it does not work!
Sorry for my wrong comment.

Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
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.


  • Follow-Ups:
    • Re: How to upload dictionary to online URL
      • From: Keith Renz <email@hidden>
References: 
 >Re: How to upload dictionary to online URL (From: Nicko van Someren <email@hidden>)

  • Prev by Date: Your own NSNotificationCenter
  • Next by Date: Deleting a row
  • Previous by thread: Re: How to upload dictionary to online URL
  • Next by thread: Re: How to upload dictionary to online URL
  • Index(es):
    • Date
    • Thread