Re: [Writefile] path

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63452
interpreted = N
texte = Dan Strong wrote: > WebDNA 6.0 | Apache/2.0.46 (Red Hat) > > Why does this path work: > [ListFiles path=../images/gallery_images/] > > But this same path (from same location) does not: > [WriteFile file=../images/gallery_images/[thefile]&secure=F] > > Error: Unable to access file. Unable to open file > '/home/httpd/html/dan_strong_sites/www.the > site.com/admin/../images/gallery_images/1april.jpg' .Ignoring > [WriteFile] context > > Sure, I'm a little loopy from cold meds, but jeez, this is amateur stuff > (or so I thought)... the error is telling me that [Writefile] is > ignoring the ../ , but why? And what is the correct path then? > > TIA, > -Dan How is it ignoring the ../? The error to me looks permission based. Show us the exact webdna code (other than html and the actual site name) Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [Writefile] path *solved* ( "Dan Strong" 2005)
  2. Re: [Writefile] path ( "Dan Strong" 2005)
  3. Re: [Writefile] path ( "Dan Strong" 2005)
  4. Re: [Writefile] path ( Donovan Brooke 2005)
  5. [Writefile] path ( "Dan Strong" 2005)
Dan Strong wrote: > WebDNA 6.0 | Apache/2.0.46 (Red Hat) > > Why does this path work: > [ListFiles path=../images/gallery_images/] > > But this same path (from same location) does not: > [WriteFile file=../images/gallery_images/[thefile]&secure=F] > > Error: Unable to access file. Unable to open file > '/home/httpd/html/dan_strong_sites/www.the > site.com/admin/../images/gallery_images/1april.jpg' .Ignoring > [writefile] context > > Sure, I'm a little loopy from cold meds, but jeez, this is amateur stuff > (or so I thought)... the error is telling me that [writefile] is > ignoring the ../ , but why? And what is the correct path then? > > TIA, > -Dan How is it ignoring the ../? The error to me looks permission based. Show us the exact webdna code (other than html and the actual site name) Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan Brooke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

F3 crashing server (1997) Get current URL with Variables (2005) .txt file (2000) File Uploads: WebCat/SiteEdit (1998) Pithy questions on webcommerce & siteedit (1997) Include file not working on remote directory. (2004) Cart Numbers (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Getting it as [raw] (2004) Linux Orderfile Error (2002) For those of you not on the WebCatalog Beta... (1997) Single Link browsing (1997) WebCatalog 3.0.8 Mac OS (2000) JavaScript form question (2001) RE: protect tag on NT (1997) Major Security Hole IIS NT (1998) RE: Error: template (1997) Fw: Linux w/ apache (2000) upgrading (1997) Help formatting search results w/ table (1997)