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,-DanOn 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:
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,-DanOn 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:
Default error page (2002)
[WebDNA] Which OS? (2009)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Online reference (1997)
Do the [date] thing... (2001)
MetaKW tags from databases (2006)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
[WebDNA] Attn David Doda (2011)
Running _every_ page through WebCat ? (1997)
[WebDNA] showif with empty variable (2015)
sendmail and accented characters (1998)
Using Applescript to process WebCatalog functions (1998)
WebCatalog-NT?'s (1996)
[WebDNA] CICADA (2009)
t or f (1997)
searching multiple databases in single search (1997)
WCS Newbie question (1997)
HTML encoding in URLs (1997)
[WebDNA] multi [sendmail] inside [search] (2012)
Re:listfiles-looking for slick solution (1997)