[Zope] extraction of complete filepath of a <input type=file> object
   
    Laurie Nason
     
    laurien@tiger.3dem.bioch.bcm.tmc.edu
       
    Fri, 29 Jun 2001 16:00:07 -0500
    
    
  
I have the opposite problem - I would like windoze to give me only the file
name - am I going to have to parse the complete path to strip out the \'s?
Laurie
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris
Withers
Sent: Friday, June 01, 2001 2:06 PM
To: Loren Stafford; Andrei Belitski; zope@zope.org
Subject: Re: [Zope] extraction of complete filepath of a <input
type=file> object
> I thought REQUEST['my_file'].filename gave you the entire path. Are you
sure
> it doesn't.
Only on Windoze, on Linux you only get the filename, which is more secure
IMHO.
Why do you want the complete file path anyway?
cheers,
Chris
_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )