Re: [movefile]
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23294
interpreted = N
texte = At 03:46 PM 2/4/99 +0000, you wrote:>>At 02:48 PM 2/4/99 +0000, you wrote:>>>Should this work on WebCat 2.1?>>>>>>[movefile from=something.tmpl&to=[date].tmpl]>>>Or do I need to wrap the [date] tag in something. I tried it as above and>>>nothing happens.>>>>>> Not if it's an NT server. Default date tage uses slashes / and those>>are invalid characters on a Wintel machine for a filename.> I was talking about moving a file to something like 4/2/1998.tmpl that>would be generated by the [date] contex. Right. But if this is a Windows NT machine, you can't have a / in afilename since that character is a reseved character for navigatingdirectories and the NTFS file structure. So, if this is a windows NTmachine, you can't say [date].tmpl since it can't create a filename with a/ in it.What you CAN do is say something like [date %m%d%Y].tmpl. That'll have thedate information that you need, minus those pesky /'s.Howard Wolosky============Lead Programmer / Webmaster www.willitwork.comWill It Work presented by Lab 2K -The World's Largest Year 2000 Compliance Search Engine
Associated Messages, from the most recent to the oldest:
At 03:46 PM 2/4/99 +0000, you wrote:>>At 02:48 PM 2/4/99 +0000, you wrote:>>>Should this work on WebCat 2.1?>>>>>>[movefile from=something.tmpl&to=
[date].tmpl]>>>Or do I need to wrap the
[date] tag in something. I tried it as above and>>>nothing happens.>>>>>> Not if it's an NT server. Default date tage uses slashes / and those>>are invalid characters on a Wintel machine for a filename.> I was talking about moving a file to something like 4/2/1998.tmpl that>would be generated by the
[date] contex. Right. But if this is a Windows NT machine, you can't have a / in afilename since that character is a reseved character for navigatingdirectories and the NTFS file structure. So, if this is a windows NTmachine, you can't say
[date].tmpl since it can't create a filename with a/ in it.What you CAN do is say something like [date %m%d%Y].tmpl. That'll have thedate information that you need, minus those pesky /'s.Howard Wolosky============Lead Programmer / Webmaster www.willitwork.comWill It Work presented by Lab 2K -The World's Largest Year 2000 Compliance Search Engine
Howard Wolosky
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:
WebMerchant when CC network is down (1998)
Bug Report, maybe (1997)
Bug Report, maybe (1997)
Strange search... (2001)
New Plug-in and Type 11 errors (1997)
Design Help Needed (1998)
Modifying Carts (1999)
Secure server question (1997)
using showpage and showcart commands (1996)
OT : javascript form filling (2000)
[TCPConnect] Errors (2003)
Sorting LISTFILES (1997)
WebCat2b12--[searchstring] bug (1997)
[WebDNA] Feature Request (2013)
Re:listfiles-looking for slick solution (1997)
WCf2 and nested tags (1997)
The max=0 issue is a bug ... CALL TO ACTION (2000)
listfiles-looking for slick solution (1997)
two unique banners on one page (1997)
Nitro plugin? (1998)