Hi,

> Adding "StripCR()" to the input can help.  By striping the 
> carriage returns
> you can sometimes get the uploaded file to work out using CFFILE.

So if I have 

<input type=file name="filecontents">

and then 

<CFFILE ACTION="Upload" 
        FILEFIELD="FileContents"
        DESTINATION="#ThisUsersTempDir#"        
        NAMECONFLICT="MakeUnique">

where do I use StripCR() or Trim() ??
U saying 

FILEFIELD="StripCR(FileContents)" or  FILEFIELD="Trim(FileContents)"


> A friend of mine eventually started pulling the uploaded files 
> straight out
> of the windows temp directory... ugly but effective :-)
> 
> http://cfhub.com/forum//index.cfm?FuseAction=Thread&TopicID=2543
> 

An option ...
 
> IE on MACs has a tendency to put carriage returns at the end of 
> form fields.

Yeah know all about this... f***ing macs 

> I believe files get effected by this too. I used to know how to fix the
> problem, but I can't remember and I can't find the old code.
> 
> Marc
> 

Thanks Justin 
==^=======================================================
     This list server is Powered by iMS
   "The Swiss Army Knife of Mail Servers"
   --------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================


Reply via email to