[Writefile] path

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63451
interpreted = N
texte = 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 ------------------------------------------------------------- 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)
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 ------------------------------------------------------------- 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:

Browser Caching (2003) [OT] Xserve (2002) Cybersource and WebCat ... again (2000) WebDNA-Talk Digests (1997) Sorting by date (1997) Progress !! WAS: Trouble with formula.db (1997) upload pictures any solution (1999) Frames and WebCat (1997) argh must send var to iframe to load webDNA search (2003) Multiple adding (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Field name-subcategory (1997) WebCat2: Items xx to xx shown, etc. (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Alternating colors (1997) Been meaning to ask... (1997) formula??? (2000) Still ignoring the 3.x bugs? (2000) multiple credit card merchant accounts/processors (1997) Plugin or CGI or both (1997)