• 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
Issue with the downloading url
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with the downloading url


  • Subject: Issue with the downloading url
  • From: "Arnab Ganguly" <email@hidden>
  • Date: Thu, 6 Nov 2008 19:32:55 +0530

 Hi All,
My requirement is to download the html file in my machine.I am trying to
execute the below code,it gets executed correctly but when I go to the /tmp
dir I don't see any file getting downloaded.Any help would be very much
appreciated.

NSURLRequest *theRequest=[NSURLRequest requestWithURL:[NSURL URLWithString:@
"http://www.videolan.org/vlc/download-sources.html";]

                   cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:60.0];


NSURLDownload  *theDownload=[[NSURLDownload alloc]
initWithRequest:theRequest delegate:self];
if (theDownload)
{
                            [theDownload setDestination:@"/tmp"
allowOverwrite:YES];
}

Thanks and regards
Arnab
_______________________________________________

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

  • Follow-Ups:
    • Re: Issue with the downloading url
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: NSTimer issue
  • Next by Date: Re: Issue with the downloading url
  • Previous by thread: Re: Two-way connection with NSConnection
  • Next by thread: Re: Issue with the downloading url
  • Index(es):
    • Date
    • Thread