Re: Using tags to create a file name

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35650
interpreted = N
texte = [date] gives you the date in 11/11/2000 format, the / conflicts with the directory path. if you want to use it to have a unique name, you can strip off the /s using [convertchars], alternately you can use the [cart] tag instead of using [date]-[time], is there any other reason why you are using date-time? ========================================================== _O_/\NUP Setty / | \/ERTical Net / \ http://www.vertical.net _\ \_ 336-218-8562 Ext. 218 o o o o ========================================================== ----- Original Message ----- From: Alan To: WebCatalog Talk Sent: Thursday, August 03, 2000 11:41 AM Subject: Using tags to create a file name > I am attempting to make a backup copy of a database file using the > [MOVEFILE] tag to move, rename and delete the existing .db file before > it is replaced with an updated version. If I use a static name the > process works correctly, if I use a tag it doesn't. > > This way works! > [MOVEFILE from=../folder1/database.db&to=../folder2/backup.db] > > This way doesn't? > [MOVEFILE from=../folder1/database.db&to=../folder2/[DATE]-[TIME].db] > > I need a different name for each backup that allows for quick > identification, the [DATE]-[TIME].db would be great if it will work. I > am however, open to other suggestions for renaming the files. All this > is being attempted on a Macintosh server using WebCatalog 3.0.8. > > Thanks, > Alan Jackson > > > ------------------------------------------------------------- > 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: Using tags to create a file name (Alan 2000)
  2. Re: Using tags to create a file name (Peter Ostry 2000)
  3. Re: Using tags to create a file name (WebDNA Support 2000)
  4. Re: Using tags to create a file name (Alan 2000)
  5. Re: Using tags to create a file name (WebDNA Support 2000)
  6. Re: Using tags to create a file name (Dale 2000)
  7. Re: Using tags to create a file name (Anup Setty 2000)
  8. Using tags to create a file name (Alan 2000)
[date] gives you the date in 11/11/2000 format, the / conflicts with the directory path. if you want to use it to have a unique name, you can strip off the /s using [convertchars], alternately you can use the [cart] tag instead of using [date]-[time], is there any other reason why you are using date-time? ========================================================== _O_/\NUP Setty / | \/ERTical Net / \ http://www.vertical.net _\ \_ 336-218-8562 Ext. 218 o o o o ========================================================== ----- Original Message ----- From: Alan To: WebCatalog Talk Sent: Thursday, August 03, 2000 11:41 AM Subject: Using tags to create a file name > I am attempting to make a backup copy of a database file using the > [movefile] tag to move, rename and delete the existing .db file before > it is replaced with an updated version. If I use a static name the > process works correctly, if I use a tag it doesn't. > > This way works! > [MOVEFILE from=../folder1/database.db&to=../folder2/backup.db] > > This way doesn't? > [MOVEFILE from=../folder1/database.db&to=../folder2/[date]-[time].db] > > I need a different name for each backup that allows for quick > identification, the [date]-[time].db would be great if it will work. I > am however, open to other suggestions for renaming the files. All this > is being attempted on a Macintosh server using WebCatalog 3.0.8. > > Thanks, > Alan Jackson > > > ------------------------------------------------------------- > 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/ Anup Setty

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:

showif and cart (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Uh...can someone help me out with the b10? (1997) log out (2001) Running 2 two WebCatalog.acgi's (1996) WebCat2 - Getting to the browser's username/password data (1997) Page Showing 3 times (2000) [Fwd: F3 database munching] (1997) What file? (1997) [protect] and identification (2008) Cyberstudio and WebDNA (1997) Convert from WebDNA to PHP/MySQL (2006) New WebDNA Solutions ... (1997) WebCatalog NT beta 18 now available (1997) WebCatalog Hosting (1996) Need help with emailer- 2 issues (1997) nested showif? (1998) Wrapping text (1998) Cookie woes with Mac IE4 (1998) TRAINING videos - Prove IT. (1998)