[fullPath] bug?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21474
interpreted = N
texte = Greetings,Wrote an include file that take a directory as a parameter and recursively goes through its entire tree giving me options to process when it finds a directory or a file (extremely useful for a million things). It rips through thousands of nested directories and files but when I issue the [fullPath] command, for *FILES* the last \ is missing. For example:d:\Inetpub\wwwroot\parsing\uploads\kodak\catimagem1235.gifIt should be:d:\Inetpub\wwwroot\parsing\uploads\kodak\catimage\m1235.gifThe [fullPath] command on the parent directory brought up:d:\Inetpub\wwwroot\parsing\uploads\kodak\catimagewhich is fine.This works fine when I just use a simple [listFiles]. This include file, though, is generic and keeps calling itself till the job's done. It's when it's calling itself and issuing the [fullPath] command that the end \ is missing.Any thoughts?Aloha, Olin Associated Messages, from the most recent to the oldest:

    
  1. [fullPath] bug? (Olin Lagon 1998)
Greetings,Wrote an include file that take a directory as a parameter and recursively goes through its entire tree giving me options to process when it finds a directory or a file (extremely useful for a million things). It rips through thousands of nested directories and files but when I issue the [fullPath] command, for *FILES* the last \ is missing. For example:d:\Inetpub\wwwroot\parsing\uploads\kodak\catimagem1235.gifIt should be:d:\Inetpub\wwwroot\parsing\uploads\kodak\catimage\m1235.gifThe [fullPath] command on the parent directory brought up:d:\Inetpub\wwwroot\parsing\uploads\kodak\catimagewhich is fine.This works fine when I just use a simple [listfiles]. This include file, though, is generic and keeps calling itself till the job's done. It's when it's calling itself and issuing the [fullPath] command that the end \ is missing.Any thoughts?Aloha, Olin Olin Lagon

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:

Semi OT: vbulletin and # viewing - how do that do that? (2003) setitems, one more thing (1997) [WebDNA] SEARCH question (2011) E-mailer error codes (1997) Forms Search Questions (1997) Will webdna execute before a [redirect]? (1999) Help name our technology! (1997) Running _every_ page through WebCat-error.html (1997) Linux/webcat points (2000) Shop from PDF (2004) [WebDNA] [OT] Social Media Share Buttons (2013) watch out for format_to_days on NT (1997) [SearchString] problem with [search] context (1997) multi-paragraph fields (1997) [WebDNA] Hard-coded db write delay when running certain code? (2011) HTML encoding in URLs (1997) Re:Remote stockroom ? (1998) Logout? (1998) WC 4 & Cybercash (2000) Max Record length (1997)