The "." in the file name might be screwing something up.  Maybe CF is
thinking there's a scope of some sort?  I'm not sure, but that may be a
place to check.

John 

-----Original Message-----
From: Eric Creese [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 11, 2004 1:00 PM
To: CF-Talk
Subject: CFFILE upload to Linux server issues

Ok I have a site on linux where I set a directory path so in the
application.cfm so i can use it it during my file uploads like the
following

<CFSET directorypath ="/root/a/mysite.com/html/dev/">

Now when I try to excute the page to upload the file using CFFILE I get
an error message telling me the variable is undefinied.

here is the error message followed by the code. Mind you this worked in
windowsWhat am I missing here?




<cfif isdefined('form.timage1')>
                <cfif #form.timage1# NEQ ''>
                <cffile action="upload"
                  destination="#directorypath#images/apps/"
                  nameconflict="makeunique"
                  filefield="timage1"
                  accept="image/*">





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:183999
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