[listfiles] problems

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15254
interpreted = N
texte = I am running into weird problems with [listfiles], using the 2.0 CGI (although I just tried it with the 2.1b3 cgi and got the same result). I am trying to list a directory outside the Webstar directory, in fact in the system folder. First I tried an alias in the same folder as the tmpl file, but that didn't work-- webcat couldn't find the directory. I then tried something like [listfiles ../../../system folder/application folder/working directory/], which also failed. When I tried [listfiles ../../../system folder/application folder/], that worked, and I could see the folder working directory. I then renamed the directory and tried [listfiles ../../../system folder/application folder/x/], this failed too. I know I have the name of the directory right, I copied it from the finder.Why won't aliases work? Is there a path length limit for [listfiles]? Am I doing anything wrong? Is there any way to specify an absolute path (ie not relative to the webstar folder)?Regards ThomasThomas Wedderburn-Bisshop | Phone +61 2 9746 0700 Development Manager | FAX +61 2 9751 6941 Woomera Net Solutions | Sydney, Australia | Launching Internet Business Associated Messages, from the most recent to the oldest:

    
  1. Re: [listfiles] problems (Grant Hulbert 1997)
  2. [listfiles] problems (Thomas Wedderburn-Bisshop 1997)
I am running into weird problems with [listfiles], using the 2.0 CGI (although I just tried it with the 2.1b3 cgi and got the same result). I am trying to list a directory outside the Webstar directory, in fact in the system folder. First I tried an alias in the same folder as the tmpl file, but that didn't work-- webcat couldn't find the directory. I then tried something like [listfiles ../../../system folder/application folder/working directory/], which also failed. When I tried [listfiles ../../../system folder/application folder/], that worked, and I could see the folder working directory. I then renamed the directory and tried [listfiles ../../../system folder/application folder/x/], this failed too. I know I have the name of the directory right, I copied it from the finder.Why won't aliases work? Is there a path length limit for [listfiles]? Am I doing anything wrong? Is there any way to specify an absolute path (ie not relative to the webstar folder)?Regards ThomasThomas Wedderburn-Bisshop | Phone +61 2 9746 0700 Development Manager | FAX +61 2 9751 6941 Woomera Net Solutions | Sydney, Australia | Launching Internet Business Thomas Wedderburn-Bisshop

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:

Newbie search question (between two dates) (2001) Triggers (2005) Virtual hosting and webcatNT (1997) Remote stockroom ? (1998) [WebDNA] Foreign characters (2009) (2009) Webdna 5.0 reference documentation (2003) New WebDNA Solutions ... (1997) StoreBuilder UPS/XML code question ... (2003) Webcatalog server support (1997) [WebDNA] V7 Download (2011) WCS Newbie question (1997) Windows-based Code Editor (2002) FYI: SmithMicro Financial Report (2000) NT or Mac (1997) Multiple Pulldowns (1997) [Replace] really replaces? (2000) & not allowed in db by definition? (1999) Date AND time (2001) Web Site Hosting (2000) [WebDNA] Secure & HttpOnly Session Cookies (2013)