can you see what is wrong here?
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40633
interpreted = N
texte = I am expanding on the previously mentioned template that moves a folder, compresses it then deletes it.The delete portion is here. I can't see anything wrong with it, but when the page is run, the first part of the template works fine, then I get [/FileInfo] old folder exists - now to delete it and the folder is not deleted. The folder does exist. Previously in the code, after 'stuffing' the folder, I,using [shell] mv the folder to the same name with the addition of .old to the name. And the code below should remove the folder.The codelisted below is not contained within any other webcat code.--- begin code ---[showif [FileInfo file=/backups/dbs-[DATE format=%Y%m%d].old][exists]=T][/FileInfo]old folder exists - now to delete it
[deletefolder =/backups/dbs-[DATE format=%Y%m%d].old][/showif]--- end code ---Any ideas?This is webcat 4.0.2 on redhat linux 7.2-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I am expanding on the previously mentioned template that moves a folder, compresses it then deletes it.The delete portion is here. I can't see anything wrong with it, but when the page is run, the first part of the template works fine, then I get [/FileInfo] old folder exists - now to delete it and the folder is not deleted. The folder does exist. Previously in the code, after 'stuffing' the folder, I,using [shell] mv the folder to the same name with the addition of .old to the name. And the code below should remove the folder.The codelisted below is not contained within any other webcat code.--- begin code ---[showif [FileInfo file=/backups/dbs-[DATE format=%Y%m%d].old][exists]=T][/FileInfo]old folder exists - now to delete it
[deletefolder =/backups/dbs-[DATE format=%Y%m%d].old][/showif]--- end code ---Any ideas?This is webcat 4.0.2 on redhat linux 7.2-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
dale
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:
Problem with Formulas.db (1999)
ShowNext Command (1997)
[WriteFile] problems (1997)
WCS Newbie question (1997)
Duplicate Cart Problem in Netscape (2000)
Search on encrypted field (2000)
[BoldWords] WebCat.acgib15Mac (1997)
too many nested tags ... (1997)
WebCat2: Formulas.db question (1997)
WebCatalog f2 Installation (1997)
encryption in browser? (1998)
2cd pair of eyes (2003)
Viewing old carts (was FEW QUESTIONS) (1997)
New WebMerchant/Mac beta available (1997)
More Hide IFs (2000)
transferring values (1998)
question: writing files textb in webmerch (1997)
Force a search at the default.tmpl page? (1997)
CommandSecurity? (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)