This may be a dumb question, but what user would I be using to upload the file? 
Would it be the user I set up in CF Admin?

-----Original Message-----
From: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 2:51 PM
To: CF-Talk
Subject: Re: CFFILE upload to Linux server issues


On Thu, 11 Nov 2004 14:30:06 -0600, Eric Creese <[EMAIL PROTECTED]> wrote:
> Ok I put my slashes back and I get the following error
> 
> here is how I set the var.
> 
> <CFSET directorypath ="/home/auto1/autocomm-inc.com/html/dev/">
> 
> The destination directory 
> "/home/auto1/autocomm-inc.com/html/dev/images/apps/" specified in the CFFILE 
> tag is invalid.
> 
> The directory either does not exist or is not accessible by this tag.
> 
> The error occurred in 
> /home/auto1/autocomm-inc.com/html/dev/Admin/x_addtest.cfm: line 24
> 
> 22 :              filefield="timage1"
> 23 :              mode = 777
> 24 :              accept="image/*">
> 

Eric,

A test. Have you tried logging in to the box as the user that CF is
running as and creating a file in each of the directories leading up
to your destination directory? For example, based on your path listed,
have you tried this?:

touch /home/foo.txt;
touch /home/auto1/foo.txt;
touch /home/auto1/autocomm-inc.com/foo.txt;
touch /home/auto1/autocomm-inc.com/html/foo.tct;
touch /home/auto1/autocomm-inc.com/html/dev/foo.txt;

The cleanup command for the above is simple:

rm -f `find /home -name foo.txt`

If you can successfully write as the CF user to each directory, then
it might be something else. But for most people on Unix systems, it
usually boils down to production.

Let us know what happens.

Regards,
Dave.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184042
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to