Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: CffileUpload + cffile.clientDirectory

$
0
0

Hi BKBK,

 

Thank you so much for the reply. I removed the onComplete="previewfile" and the error 500 disappears now.

 

I am looking for cffile.clientDirectory information, but unable to get it.PLEASE HELP....I am in dire need of that info. I am not getting it for any uploaded file. PFB my trials.

 

 

I tried

 

    <cfoutput>#try#</cfoutput>.

 

Nothing is displayed yet and it gives status 500 error (because try is not defined anywhere). I tried 

 

    <cfoutput>#uploadFolderPath#</cfoutput>,

 

no error, no display (or output too). Nevermind, that's not very important.

 

I tried

 

    <cfdump    var="#uploadResult#"    label="Upload Meta Data"    output="#expandPath( './log.txt' )#"    format="text"    />

 

and the logs are available now. I am fine with it.

 

log.txt

 

Upload Meta Data - array - Top 1 of 1 rows

1) [struct]
ATTEMPTEDSERVERFILE: cat.jpg
CLIENTDIRECTORY: [empty string]
CLIENTFILE: cat.jpg
CLIENTFILEEXT: jpg
CLIENTFILENAME: cat
CONTENTSUBTYPE: octet-stream
CONTENTTYPE: application
DATELASTACCESSED: {d '2013-05-20'}
FILEEXISTED: YES
FILESIZE: 446759
FILEWASAPPENDED: NO
FILEWASOVERWRITTEN: YES
FILEWASRENAMED: NO
FILEWASSAVED: YES
OLDFILESIZE: 446759
SERVERDIRECTORY: E:\Inetpub\wwwroot\cdd\Portfolio\eKris
SERVERFILE: cat.jpg
SERVERFILEEXT: jpg
SERVERFILENAME: cat
TIMECREATED: {ts '2013-05-20 17:35:57'}
TIMELASTMODIFIED: {ts '2013-05-20 17:35:57'}

 

Message was edited by: Sree Viji


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>