Re: Limits on images being uploaded using CFFILE?
On Fri, Jan 16, 2009 at 12:53 AM, Mike Kear afpwebwo...@gmail.com wrote: [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\featureimages\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] Check out this hot fix from Adobe for ColdFusion 8.0.1. http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403411 EP ~| 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:320710 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Limits on images being uploaded using CFFILE?
Azadi, thanks for your help - sorry i havent responded earlier - been away from my keyboard for the weekend - first time in nearly a year! Anyway, the maxsize of post data is set to 100MB so it isnt that. Any other thoughts? 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 On Fri, Jan 16, 2009 at 5:13 PM, Azadi Saryev az...@sabai-dee.com wrote: what is your value for Maximum size of post data in CF Admin (at the bottom of Server Settings - Settings section)? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Mike Kear wrote: Are there limits imposed on the file sizes or filenames when uploading using CFFILE? ~| 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:318151 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Limits on images being uploaded using CFFILE?
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
Re: Limits on images being uploaded using CFFILE?
Thanks Adrian, that was my first thought too. So i renamed the file to test.jpg and it still died. Resizing the file and keeping the original name, it went up. Yet, the max upload size is 100MB to that cant be the problem either. I dont have a problem telling my client she has to change the way she's doign things, but i want to make sure I'm telling her the right thing. There's no use my telling her she has to rename all her images if that's not the cause of the problem.It'll still keep on happening after she renames them all (and there are LOTS). Then i'll have the problem on my plate, as well as an irritated client on my back too. 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 On Mon, Jan 19, 2009 at 9:59 PM, Adrian Lynch cont...@adrianlynch.co.uk wrote: 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 ~| 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:318155 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Limits on images being uploaded using CFFILE?
Can you get it to fail every time with a given file? Can you post it somewhere for us to try? Adrian -Original Message- From: Mike Kear [mailto:afpwebwo...@gmail.com] Sent: 19 January 2009 11:14 To: cf-talk Subject: Re: Limits on images being uploaded using CFFILE? Thanks Adrian, that was my first thought too. So i renamed the file to test.jpg and it still died. Resizing the file and keeping the original name, it went up. Yet, the max upload size is 100MB to that cant be the problem either. I dont have a problem telling my client she has to change the way she's doign things, but i want to make sure I'm telling her the right thing. There's no use my telling her she has to rename all her images if that's not the cause of the problem.It'll still keep on happening after she renames them all (and there are LOTS). Then i'll have the problem on my plate, as well as an irritated client on my back too. ~| 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:318156 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Limits on images being uploaded 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. What does your file processing code look like? Will ~| 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:318168 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Limits on images being uploaded using CFFILE?
what is your value for Maximum size of post data in CF Admin (at the bottom of Server Settings - Settings section)? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Mike Kear wrote: Are there limits imposed on the file sizes or filenames when uploading using CFFILE? ~| 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:318050 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4