[thelist] ColdFusion CFFILE Upload help

Buffington, Michael michael.buffington at office.xerox.com
Thu Feb 27 17:13:33 CST 2003

Have you tried using nameConflict="MakeUnique" in the CFFILE tag? If that works (which, honestly, I don't think has much of a chance), you can then do whatever kind of voodoo you want to the file name after the fact by messing with the cffile.serverFile variable.

You may need to resort to telling your clients to name their files something within the realm of sane. Something cries out crazy when a file is named something. [with the . on the end of course]

-----Original Message-----
From: Ryan Carmody [mailto:carmodyryan at hotmail.com]
Sent: Thursday, February 27, 2003 8:46 AM
To: thelist at lists.evolt.org
Subject: [thelist] ColdFusion CFFILE Upload help


When trying to upload a file with a period at the end of the file name (ex:
txt file 'test.') CF throws this error:

The path, 'c:\..\test..txt', is illegal. Path specifications cannot include

Besides telling our clients to come up with better file names, does anyone
know how to trim the trailing period off either before of after the file is
actually uploaded so the file on our server would be test.txt and not


The new MSN 8: advanced junk mail protection and 2 months FREE*

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !

More information about the thelist mailing list