COM1 is a reserved device name in Windows (a throwback from ancient DOS
days). The same will happen with LPT1 and some other names.

-----Original Message-----
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 12 October 2004 4:12
To: CF-Talk
Subject: Trouble writing a file

Does anybody know why <cffile> can't write a file called com1.htm in an
existing directory with the right permissions? This happens only on windows
machines (win 2k & XP) with CF4.5 and CF5 (haven't tested with CFMX). It
writes the file ok on a linux box. Other files (like reg1.htm) are written
correctly, but all the files called comX.htm (where X is a digit) throw an
error saying comX.htm doesn't exist (which shouldn't matter when using
cffile action="" Also if I do FileExists("c:\pathtofile\com1.htm") it
returns true if the file doesn't exist.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to