• 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
WOFileUpload: checking against Windows filepath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOFileUpload: checking against Windows filepath


  • Subject: WOFileUpload: checking against Windows filepath
  • From: Randall Perry <email@hidden>
  • Date: Fri, 23 Jul 2004 21:24:27 -0400

On testing my file upload app on a Win2k machine I discovered that IE in
Windows inserts the full path to the file in the browse field, whereas on
the Mac only the filename appears.

My code checks the filename to see if it begins with a customer code. I use
NSPathUtilities.lastPathComponent(), but apparently it doesn't work on PC
paths.

Is there a method that does?

--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Design/Development
WebObjects Hosting
Mac Consulting/Sales

http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: WOFileUpload: checking against Windows filepath
      • From: Ute Hoffmann <email@hidden>
    • Re: WOFileUpload: checking against Windows filepath
      • From: Hsu <email@hidden>
  • Prev by Date: Why does a fetch work but the array doesn't?
  • Next by Date: Re: WOFileUpload: checking against Windows filepath
  • Previous by thread: Why does a fetch work but the array doesn't?
  • Next by thread: Re: WOFileUpload: checking against Windows filepath
  • Index(es):
    • Date
    • Thread