Skip to main content
Inspiring
October 23, 2008
Question

CF7.02 cffile rename error

  • October 23, 2008
  • 1 reply
  • 332 views
Hi All
I am having an issue when trying to rename a file under a folder with a period in the name of the folder.
I have tried this test on 3 different servers with the same result
I first did a rename action in a cfm file that was not under a folder with a period and it works renaming a file that lives under a folder with a period.
d:\test.cfm action rename d:\test.temp\test.txt to d:\test.temp\test.xml (works)

So i moved my cfm file to the folder with a period and poof it breaks. so apparently if you try to rename a file from a cfm file that lives under a folder with a period it fails with invalid source attribute error.

d:\test.temp\test.cfm action rename d:\test.temp\test.txt to d:\test.temp\test.xml (fails)
The value of the attribute source, which is currently "d:\test.temp\test.txt", is invalid.

whats worse is this code worked under version 5.

My question is, is the a documented issue or is something that other users are seeing that no one knows about?
Is there a hot fix for this? All 3 servers are at Cumulative HF3

Thanks
Tim Garver
    This topic has been closed for replies.

    1 reply

    nicetimAuthor
    Inspiring
    October 23, 2008
    By the way this is not an issue in CF 8
    I have tested and it works on CF8

    Has anybody seen this issue?

    It is a very common thing for hosts to name the root folder for a site as the site name as in d:\root\mysite.com, d:\root\momssite.com ect...

    Thanks
    Tim