[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:
Need help... (1997)
[SearchString] problem with [search] context (1997)
RE: Missing contexts on NT (1997)
Showing unopened cart (1997)
Wierd webdna problem and terminal message (2005)
Auto conversion of URLs? (1998)
[WebDNA] exclusivelock (2011)
Scoping rules in WebDNA 4.0 (2000)
read and write you own cookies with webcat (1997)
Running 2 two WebCatalog.acgi's (1996)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
More than one db with the same namn (was: WC2f3) (1997)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
Allowed fields in formulas.db (1998)
Webcat causing crashes left and right! (1997)
suffix mapping for NT? (1997)
Search and sort (2001)
Followup question re: checksum for credit cards? (1997)
Multiple prices (1997)
WC Host List (2000)