[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 recursivelygoes through its entire tree giving me options to process when it finds adirectory or a file (extremely useful for a million things). It rips throughthousands 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 whenit's calling itself and issuing the [fullPath] command that the end \ ismissing.Any thoughts?Aloha, Olin
Associated Messages, from the most recent to the oldest:
|
- [fullPath] bug? (Olin Lagon 1998)
|
Greetings,Wrote an include file that take a directory as a parameter and recursivelygoes through its entire tree giving me options to process when it finds adirectory or a file (extremely useful for a million things). It rips throughthousands 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 whenit's calling itself and issuing the [fullPath] command that the end \ ismissing.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:
[OT] XML data to tab delimited database (2003)
So many lookers, hey smith micro (2003)
Understanding texta (1997)
WC Database Format (1997)
[WebDNA] postfix and dna (2011)
Cookie setting (2003)
WebCat chatroom (1997)
Web Catalog 2 demo (1997)
'does not contain' operator needed ... (1997)
REPOST: Overwiting SKU in Cart (2002)
Show shoppingcart after remove last item (1997)
WebCatalog f2 Installation (1997)
web delivery (1997)
Listserver problem (1997)
Webcat/Webmerchant part II (1998)
PCS Customer submissions ? (1997)
Re1000001: Setting up shop (1997)
WebCommerce: Folder organization ? (1997)
bug in [SendMail] (1997)
[hideif] (1998)