I will give it a try. I wrote the site on my development machine and that was 
win2K, SQL server. This site is for a client who is running it on Linux and 
MySql so I had to convert everything. Ran into the pitfalls of case 
sensitivity. Forgot about that from my old Oracle/Unix DBA days. That was 
frustrating. This is all I have left to do is to get teh file upload piece 
working. It worked fine in Windows but I am guessing it is a permissions thing 
here in Linux land.

-----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:184037
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to