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:
Cleaner URLs (2003)
Blocking off access (2005)
multiple databases (1997)
no template caching (1997)
t or f (1997)
Max Record length restated as maybe bug (1997)
Rendering out a page (1997)
Need help with emailer- 2 issues (1997)
why is this line in GeneralStore? (1998)
Cart vs database (1998)
Security (2006)
webcat2b12 CGI -- Date comparisons (1997)
Tab Charactor (1997)
Great product and great job ! (1997)
Almost a there but..bye bye NetCloak (1997)
WebCatalog for guestbook ? (1997)
UnitShopCost (2007)
problems with 2 tags (1997)
Free shipping (2000)
WebCatalog can't find database (1997)