• 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
stringWithContentsOfURL doesn't load the updated file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stringWithContentsOfURL doesn't load the updated file


  • Subject: stringWithContentsOfURL doesn't load the updated file
  • From: Lorenzo Puleo <email@hidden>
  • Date: Tue, 01 Apr 2003 14:29:36 +0200

I use this
webString = [NSString stringWithContentsOfURL:myURL];
to load a text file from a web site. It works.

But after, if I update that file to that web site using some FTP transfer
application like Transmit, the API above, doesn't load the new file, but
always the first one. I have to restart the machine in order to load the new
updated file. Or, I have to launch Explorer, reload the web page of that
file, then relaunch my application.

So, how to load always the latest and most updated file?


Best Regards
--
Lorenzo Puleo
email: email@hidden
_______________________________________________
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: stringWithContentsOfURL doesn't load the updated file
      • From: j o a r <email@hidden>
  • Prev by Date: Errata: initWithFrame vs. awakeFromNib
  • Next by Date: Re: stringWithContentsOfURL doesn't load the updated file
  • Previous by thread: Re: initWithFrame vs. awakeFromNib
  • Next by thread: Re: stringWithContentsOfURL doesn't load the updated file
  • Index(es):
    • Date
    • Thread