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 static pages out of our .dbs. But I miss two functions: creating folders and deleting files.I know I can do this with embedded Applescripts, but it would be much smoother if we could make a [WRITEFILE] and include a year, month and a day field 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 their corresponding 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:

    
  1. Creating folders and deleting files (Christer Olsson 1997)
[writefile] works like a charm, making us able to render lots of static pages out of our .dbs. But I miss two functions: creating folders and deleting files.I know I can do this with embedded Applescripts, but it would be much smoother if we could make a [writefile] and include a year, month and a day field 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 their corresponding 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:

Upgrading old WebCat Database Files (1997) OT:Stock Quotes (2000) Getting total number of items ordered (1997) Hiding HTML and page breaks (1997) createfolder permissions (2003) Maximum characters in header? (1999) Multiple Replaces? (1997) AppleShare IP 6.1 (1998) [include] and not found (2005) Cookie Newbie (2002) Help! WebCat2 bug (1997) Protect (1997) WC2.0 Memory Requirements (1997) [WebDNA] [BULK] Securing WebCatalog login (2017) WebCatalog can't find database (1997) 2nd WebCatalog2 Feature Request (1996) still having search problem, please help :) (2004) PCS Frames (1997) Include Files (1998) Dark Horse Comics success story (1997)