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

Re: WOFileUpload: checking against Windows filepath


  • Subject: Re: WOFileUpload: checking against Windows filepath
  • From: Hsu <email@hidden>
  • Date: Fri, 23 Jul 2004 22:55:58 -0700

Definitely a bug; please file it in Radar.

Looks like a possible workaround is to do a String replace('\', '/') first.

Karl

On Jul 23, 2004, at 8:56 PM, Randall Perry wrote:

// theFileName is the filePath property of the WOUpload component
String fileName = NSPathUtilities.lastPathComponent(theFileName);

NSLog.out.appendln( "theFileName = " + theFileName );
NSLog.out.appendln( "fileName = " + fileName );

--

How do I set a laser printer to stun?

Homepage:
     http://homepage.mac.com/khsu/index.html
_______________________________________________
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: Randall Perry <email@hidden>
References: 
 >Re: WOFileUpload: checking against Windows filepath (From: Randall Perry <email@hidden>)

  • Prev by Date: Re: WOFileUpload: checking against Windows filepath
  • Next by Date: Re: WOFileUpload: checking against Windows filepath
  • Previous by thread: Re: WOFileUpload: checking against Windows filepath
  • Next by thread: Re: WOFileUpload: checking against Windows filepath
  • Index(es):
    • Date
    • Thread