Creating folders and deleting files
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10959
interpreted = N
texte = [WRITEFILE] works like a charm, making us able to render lots of staticpages out of our .dbs. But I miss two functions: creating folders anddeleting files.I know I can do this with embedded Applescripts, but it would be muchsmoother if we could make a [WRITEFILE] and include a year, month and a dayfield and have WebCat to create a folder if it is not present, like:[WriteFile /news/[year]/[month]/[day]/[newsID].html]I would also like to be able to delete rendered pages if theircorresponding item in the news.db is deleted, a new [DELETEFILE] command. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Associated Messages, from the most recent to the oldest:
|
- Creating folders and deleting files (Christer Olsson 1997)
|
[writefile] works like a charm, making us able to render lots of staticpages out of our .dbs. But I miss two functions: creating folders anddeleting files.I know I can do this with embedded Applescripts, but it would be muchsmoother if we could make a
[writefile] and include a year, month and a dayfield and have WebCat to create a folder if it is not present, like:[WriteFile /news/[year]/[month]/[day]/[newsID].html]I would also like to be able to delete rendered pages if theircorresponding item in the news.db is deleted, a new
[deletefile] command. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Christer Olsson
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:
placement of ? (2000)
grouping fields question (1998)
[OT] HTML EMAIL program wanted (1999)
WebTen and WebCat (1997)
Secure Server (1997)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
Logging purchases (1997)
triggers (2002)
[WriteFile] problems (1997)
Multi-processor Mac info ... (1997)
ghost dbs!? (2003)
[OT] Dedicated Image Uploader/Server [/OT] (2003)
Authentication on NT server (2000)
real beginner stumped (2000)
Webdna websites (2004)
docs for WebCatalog2 (1997)
Emailer problems. (1998)
NT Setup (1998)
New Installation (1998)
Help!!!! (1997)