Re: can you see what is wrong here?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40635
interpreted = N
texte = Move your closing fileinfo tag inside the showif. [showif [FileInfo file=/backups/dbs-[DATE format=%Y%m%d].old][exists][/FileInfo]=T] old folder exists - now to delete it
[deletefolder =/backups/dbs-[DATE format=%Y%m%d].old] [/showif]-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of dale Sent: Friday, June 14, 2002 3:21 PM To: WebCatalog Talk Subject: can you see what is wrong here? 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/ ------------------------------------------------------------- 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)
Move your closing fileinfo tag inside the showif. [showif [FileInfo file=/backups/dbs-[DATE format=%Y%m%d].old][exists][/FileInfo]=T] old folder exists - now to delete it
[deletefolder =/backups/dbs-[DATE format=%Y%m%d].old] [/showif]-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of dale Sent: Friday, June 14, 2002 3:21 PM To: WebCatalog Talk Subject: can you see what is wrong here? 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/ ------------------------------------------------------------- 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/ Brian Boegershausen

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:

ExclusiveLock (2003) WebCat2b13MacPlugIn - syntax to convert date (1997) Multithreading of [replace] (1999) Separate server for jpg/gif files (1998) Sort of a Dilemma! (1998) Solution: searchin more then one (1999) Developers in Washington State (2004) Linux WebDNA Server probs (2004) problems with 2 tags shakur (1997) [off] Promotions Co? (1997) WCf2 and nested tags (1997) Proper file locations (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) Emailer errors (1997) Error.html (1997) Full text search (1999) Training Tapes Improved (1998) RE: Displaying Location (1997) Cart Numbers (1997) Where is the linux 4.02b5 FTP download located? (2000)