Re: [Writefile] path *solved*
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63455
interpreted = N
texte = You were right, Donovan, it was permissions. Thanks again,-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:
|
- Re: [Writefile] path *solved* ( "Dan Strong" 2005)
|
You were right, Donovan, it was permissions. Thanks again,-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:
ASP and WebCatalog ?? (2000)
WCS Newbie question (1997)
MetaKW tags from databases (2006)
You can't buy something twice... (1997)
Forwarding Orders Via Email (1998)
[hideif] (1998)
I found a bug ... (1997)
Extra equals signs with IE? (More debugging questions...) (1997)
best way to test for the existence of a parameter in a url (2003)
random prob (2003)
Java in [object] context requires MRJ 2.2 MacOS (2000)
F2 to F3 rocky transition (1997)
Just Testing (1997)
[INCLUDE] Limitations (1998)
Checking for @ sign (2006)
Download capabilities (1997)
[WebDNA] WebDNA crash and now emailer not working (2009)
Plugin or CGI or both (1997)
Error Msg (1998)
Erotic Sites (1997)