Dynamic directories for $createfile() and $renamefile() ??
by David Richardson, November 29, 2004 06:00
I'm trying to create files in directories which exist but which will change, so I need to enter the directory name as a variable. However, I just can't get it to work.
For instance, this code works:<% SET thisfile=$renamefile($tempfile$,/MY_DIRECTORY/tempfile.csv) %>
but this code doesn't:<% SET thisfile=$renamefile($tempfile$,/$directory_name$/tempfile.csv) %>
And the same is true for the create file function.
Is this some kind of security measure, or is it a bug, or am I getting it wrong (probably the most likely!)
Name E-mail optional TopicMessage:
HTTP Link: Link text: