There was a post a short while ago about the file name length being a
problem on Windows. The magic number was 255 I seem to remember.

Does the same file renamed go up ok?

Adrian

> -----Original Message-----
> From: Mike Kear [mailto:afpwebwo...@gmail.com]
> Sent: 16 January 2009 05:53
> To: cf-talk
> Subject: Limits on images being uploaded using CFFILE?
> 
> Are there limits imposed on the file sizes or filenames when uploading
> using CFFILE?
> 
> I'm getting errors when i attempt to upload images to a site using an
> image upload form I've done.  But I'm not sure why.
> 
> The image i'm trying to upload it called:  56237 ambuscade atlantic
> 1981 - unverified name and date likely wrong because pennants pained
> over in falklands.jpg  and file size is 1295kb.
> 
> At first i thought it was because of the file name,   but when i
> change the name to testimage.jpg it still gives the error.
> 
> When i opened it in fireworks, reduced the size to 117kb and uploaded
> it with the first,  long   filename, it uploaded ok.
> 
> So does that mean there's a limit to the file size I can upload?
> 
> Our environment is   Windows2003 server,  with CF8 Enterprise.
> 
> The error we're getting is:
> 
> [quote]
> An exception occured while trying to write the image.
> 
> Ensure that the destination directory exists and that Coldfusion has
> permission to write to the given path or file. cause :
> java.io.FileNotFoundException:
> e:\domains\alacastinaswh.com.au\wwwroot\cms\images\Userfiles\featureima
> ges\56237
> ambuscade atlantic 1981 - unverified name and date likely wrong
> because pennants pained over in falklands.jpg (The system cannot find
> the file specified)
> [/quote]
> 
> I know that this is not exactly correct,  since i just uploaded an
> image to that very directory using that image name.   I can only
> conclude that it's the size of the image that's causing the problem.
> If so,  where do i look to change that setting?
> 
> 
> 
> --
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318153
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to