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:

    
  1. Re: can you see what is wrong here? (dale 2002)
  2. Re: can you see what is wrong here? (John Peacock 2002)
  3. Re: can you see what is wrong here? (Brian Boegershausen 2002)
  4. can you see what is wrong here? (dale 2002)
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:

2nd Request for help/advice on variable pricing (2000) Robert Minor duplicate mail (1997) Cart Number sequence (1997) Nested tags count question (1997) problems with 2 tags (1997) Invoice in another window (1998) # fields limited? (1997) Question... (2002) Saving Text Areas with Orders (1997) Closing Databases (1998) 2003 include path issue (2004) Multiple catalog databases and showcart (1997) Some ThankYou page problems (1997) MacActivity and PCS (1997) [OT] Bit of New Zealand Fun (2004) Mass Mail (2000) Preserving form data (1999) price on detail, but not shoppingcart (1997) WebCat2: Items xx to xx shown, etc. (1997) emailer (1997)