Well it's not really the DB that is the problem, it's that the DB has the
correct name of the file without the underscores, but when using CFFILE it
renames the file with the underscores.  I'd rather that didn't happen and
would like to know a way to prevent it.

Thanks

-----Original Message-----
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 3:10 PM
To: CF-Talk
Subject: RE: CFFILE & spaces


When you write to the DB use #file.serverfile#  for the name of the file 
with the underscores, or use #file.clientfile# for the name of the file 
with spaces.

(im assuming you are writing/reading to the DB after the file is uploaded)



At 02:56 PM 2/19/01 -0500, you wrote:
>Is there anyway to change this?  The file is supposed to not have
>underscores in it, so it won't match what's in the DB.
>
>-----Original Message-----
>From: Chad Gray [mailto:[EMAIL PROTECTED]]
>Sent: Monday, February 19, 2001 2:21 PM
>To: CF-Talk
>Subject: Re: CFFILE & spaces
>
>
>CFFile puts underscores in the name where spaces are.
>
>I believe CFFile bases it's overwrite decision off the #file.serverfile#
>variable.
>
>
>At 01:14 PM 2/19/01 -0500, you wrote:
> >What does CFFILE do with a file which has spaces in the name?
> >
> >I would like make an upload form for documents, but some may be named "My
> >document edition one.doc" or such.  Will the spaces be left?  What about
> >file name conflicts?  Will the spaces interfere with this?
> >
> >TIA,
> >Peter
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to