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:
Tags on root directory files? (1998)
New WebCat Site - Evaluation Plz ;) If You Got the Time... (2000)
[ShowNext] feature in 2.0 (1997)
Design Help Needed (1998)
autosensing lanague selection (1997)
Re:2nd WebCatalog2 Feature Request (1996)
RE: Multiple Stores and WebCatalog Prefs (1997)
Document Contains No Data! (1997)
taxrate - off by 1 cent (1997)
test (2004)
Exclamation point (1997)
RE: Adding headers to email (1997)
Help! WebCat2 bug (1997)
WebDNA for Window 2000 Server (2003)
WebCatalog security on NT (2000)
searching by date (1998)
Orders coming up blank (2004)
frames & carts (1997)
All choices on IE different than Netscape (1997)
Trouble with [fileinfo] - update: TIP OF THE DAY (THE/)