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:
Displaying xx number of characters (1997)
Attn: Scott / Le - webdna 6.0a patch and mysql (2005)
WebDNA Windows 5.0 sendmail bug (2003)
Country & Ship-to address & other fields ? (1997)
Bad suffix error (1997)
[WebDNA] WebDNA version 6.2 to install on 64 bit CentOS 5 server? (2015)
[WebDNA] PayPal integration code examples? (2011)
[cart] not being interpreted inside [founditems] (1997)
A Current Feature or Futre Concept (1998)
expired beta (1997)
About WebDNA [well, and so the story ended] (2007)
RV: Email Problem (2006)
Where is f2? (1997)
FYI: virus alert (1996)
[WebDNA] TCPConnect example doesn't work (2017)
pc (1997)
[WebDNA] MD5 encryption (2011)
Way Off Topic (2003)
More DateMath problems (1997)
Parsing overhead for commenting out line endings (2003)