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:

Error Lob.db records error message not name (1997) Web Catalog Hosting (2001) Help with Repost Data msg from form (1997) Help!!!! (1999) & in Lookups (1997) Multiple Selections in Pull-Down Menu (2000) Email Spam a bit of Hell (2004) Creating folders and deleting files (1997) listfiles shows invisible files ... (1999) [listchars] request (was: Bug in capitalize ... ?) (2003) WebCat2: multiple currency support (1997) Taxes shipcost (2003) Behavior with cookies (2001) Test (2003) 3 card formulas! (1999) Re:Copyright ? (1997) ANother SHOWIF problem (1997) Running 2 two WebCatalog.acgi's (1996) WebCatalog2 Feature Feedback (1996) New Mac b2 installer... (2000)