Using tags to create a file name
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35647
interpreted = N
texte = 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 beforeit is replaced with an updated version. If I use a static name theprocess 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 quickidentification, the [DATE]-[TIME].db would be great if it will work. Iam however, open to other suggestions for renaming the files. All thisis 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/
Associated Messages, from the most recent to the oldest:
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 beforeit is replaced with an updated version. If I use a static name theprocess 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 quickidentification, the [date]-[time].db would be great if it will work. Iam however, open to other suggestions for renaming the files. All thisis 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/
Alan
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:
[WebDNA] Server speed (2009)
More on ShippingCost help needed (1998)
Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003)
Emailer Chokes on bad address (1997)
Emailer Q (2002)
Help getting [shownext] to increment (2003)
Emailer help....! (1997)
Include vs. lookup? (1998)
[ShowNext] feature in 2.0 (1997)
Validating a date (2000)
Sorting error (1997)
HTML text cannot be copied to clipboard? (1999)
Multiple Merchant Accounts? (1997)
[date format] w/in sendmail (1997)
[WebDNA] More YouTube Comments (2010)
GuestBook example (1997)
Problem with [math] (2000)
Cyberstudio and WebDNA (1997)
General WebCatalog Questions (1997)
syntax question, not in online refernce (1997)