This content has been marked as final.
Show 5 replies
-
1. Re: cffile action="upload"
jdeline Apr 20, 2006 6:26 AM (in response to SJColtsFn)You need to specify the full path name in the destination. -
2. Re: cffile action="upload"
SJColtsFn Apr 20, 2006 10:04 AM (in response to jdeline)Is the cffile action="upload" an operation where ColdFusion generates JavaScript code behind the scenes to perform the operation, and therefore dependent on ide.cfm being present? -
3. Re: cffile action="upload"
Mr Black Apr 21, 2006 8:33 AM (in response to SJColtsFn)Say it again... -
4. cffile action="upload"
stpaz Apr 21, 2006 8:59 AM (in response to SJColtsFn)no.
try
<cffile action="UPLOAD"
filefield="PDFFileName"
destination="#expandpath('.')#"
nameconflict="SKIP"
mode="777"
accept="application/pdf"> -
5. Re: cffile action="upload"
SJColtsFn Apr 24, 2006 9:52 AM (in response to stpaz)This is still not working. The cffile variables seem to be indicating that the file is not found even though I use the "Browse" button on the form element to find it:
dateLastAccessed = {d '1969-12-31'}, fileExisted = NO, fileSize = 0, fileWasAppended = NO, fileWasOverwritten = NO, fileWasRenamed = NO, fileWasSaved = NO, oldFileSize = 0
The file does exist, but CFFILE doesn't seem to see it.