Re: [Writefile] path

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63453
interpreted = N
texte = The code works on another site as is, so I'm pretty sure it's not the code, but permissions would definitely explain it (and many other probs I've been having on this project). I'll ping the admin about it. One question though, if it's a permission prob, why doesn't the error say that (e.g. permission deny).? Grr. Thx,-Dan On Mon, 21 Nov 2005 09:14:44 -0600 Donovan Brooke wrote: > 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/ ------------------------------------------------------------- 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)
The code works on another site as is, so I'm pretty sure it's not the code, but permissions would definitely explain it (and many other probs I've been having on this project). I'll ping the admin about it. One question though, if it's a permission prob, why doesn't the error say that (e.g. permission deny).? Grr. Thx,-Dan On Mon, 21 Nov 2005 09:14:44 -0600 Donovan Brooke wrote: > 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/ ------------------------------------------------------------- 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/ "Dan Strong"

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:

Message Board (again:-) (2000) Problems with [Search] param - Mac Plugin b15 (1997) Explorer 3.0/ Access Denied! (1997) [OT] Invoking a MP3 Download (2004) [include ...] behavior (1997) [group] ? (1997) WebCatalog dying in WebTen Revisited (1998) [WebDNA] mod_deflate and webdna (2017) [WebDNA] inputed text getting scrambled up in DB (2012) limitation found on group searching (1997) How to Sort Summ data ? (1997) "You might also like" Was: Sitebuilder / StoreBuilder - (2008) [WebDNA] A new popuated field to a DB with 700.000 records (2009) A little help on e-mail (HELP!!! :-) ) (1998) RE: OK, here goes... (1997) [WebDNA] WebDNA Development server (2018) ErrorMessages.db suggestion (1997) Prevent multiple appends with Reload Button (1997) Odd linefeed problem (2003) [WebDNA] File Upload Issue (2012)