• 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: Frameworks (ConnectionKit)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frameworks (ConnectionKit)


  • Subject: Re: Frameworks (ConnectionKit)
  • From: Thomas Wetmore <email@hidden>
  • Date: Tue, 09 Aug 2011 11:21:18 -0400

The startImmediately parameter is a BOOL, not a string. Use YES instead of @"YES" and see if that helps.

Tom W.

On Aug 9, 2011, at 10:44 AM, Amy Gibbs wrote:

> I'm certainly noy tied to FTP, and I'll have a go with NSURLConnection. I did try to use that for another part but I just couldn't get it to work. Is there a particular sample/tutorial you could recommend?
>
> In the following code, accessing the URL  in a webView works, but the NSURLConnection doesn't;
> [code]
>
> NSURL *uploadURL = [[NSURL alloc] initWithString:escapedUrl];
> 		NSMutableURLRequest* post = [NSMutableURLRequest requestWithURL: uploadURL];
> 		//NSURLConnection *connect = [NSURLConnection initWithRequest:post  delegate:self startImmediately:@"YES"];
> 		NSLog (@"uploadurl is: %@", uploadURL);
>
>
> 		[[uploadWeb mainFrame] loadRequest:[NSURLRequest requestWithURL:uploadURL]];
>
> [/code]

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Frameworks (ConnectionKit) (From: Amy Heavey <email@hidden>)
 >Re: Frameworks (ConnectionKit) (From: Mike Abdullah <email@hidden>)
 >Re: Frameworks (ConnectionKit) (From: Amy Gibbs <email@hidden>)
 >Re: Frameworks (ConnectionKit) (From: Mike Abdullah <email@hidden>)
 >Re: Frameworks (ConnectionKit) (From: Amy Gibbs <email@hidden>)

  • Prev by Date: Scanning images
  • Next by Date: Hide Quicktime logo when using MPMoviePlayerController to play audio
  • Previous by thread: Re: Frameworks (ConnectionKit)
  • Next by thread: Re: Frameworks (ConnectionKit)
  • Index(es):
    • Date
    • Thread