[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:
Protecting webdelivery (1997)
[BULK] Fwd: [WebDNA] [BULK] WebDNA discovery in the Console - [having many crashes] (2011)
WebCatalog for guestbook ? (1997)
Search for dates greater than [date] (1997)
FW: Runtime version ... (2003)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Multiple Merchant Accounts? (1997)
WC2.0 Memory Requirements (1997)
calculating tax rates, mail order solutions and version 2 (1997)
Re2: frames & carts (1997)
sending formatted e-mail? (1998)
headers (2000)
Image as submit button (2000)
PCS Frames-Default page is solution! (1997)
No Wanna Duppys (1998)
(1997)
Re:no template caching (1997)
Uploading a file (2000)
[WebDNA] paypal (2009)
[WebDNA] END processing (2014)