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:
[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:
WebCat2: Master Counter snippet (1997)
Help name our technology! I found it (1997)
[ListFiles] & [loop] (1998)
[OT] Disable/enable field (2003)
Only charge card when product shipped ? (1997)
label?! (2005)
How to stop WebCat services on NT? (2000)
Emailer problem with WC 2.1, NT, WebSite 2.1 (1998)
Running _every_ page through WebCat-error.html (1997)
MacActivity and PCS (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Problem with broken images (2004)
Dark Horse Comics success story (1997)
Database Strategy - more... (1998)
Version 4 (2000)
[WebDNA] WebDNA receiving numerous signal SIGSEGV then crashing (2016)
[ot] Webserver monitoring (2001)
Allow-Deny: Solved with [Getchars] (1998)
Hiding the URL(was Cart ID Duplication) (2001)
GoLive CyberStudio 1.0.1 (1997)