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:
Navigator Parsing (1997)
Buggy Code (1998)
Credit Card processing (1998)
[carts] and databases (1997)
NT version (1997)
More on the email templates (1997)
multiple selected Checkboxes (1998)
question: webmerchant connection (1997)
Summary search -- speed (1997)
Great product and great job ! (1997)
inconsistent webcat calculation? (1997)
Banners (1997)
SQL db type (2006)
WebDNA on a Raq4i (2003)
Database access (2003)
Re:Merging databases (1997)
ups quickcost [repost] (1999)
writefile to create static pages (2003)
Questions about maximum (1999)
WebDNA Writer Needed (1997)