My problem is that when you create an java object to java.lang.system and you dump the variable you see that java.io.tmpdir points to a other temp directory than getTempdirectory() does. This doesn't not help me very much. I couldn't figure out why this is.
I use IIS on win2k with cfmx 7.0.1 Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kola Oyedeji Sent: zaterdag 15 april 2006 1:13 To: [email protected] Subject: Re: [CFCDev] GetTempDirectory() vs java.io.tmpdir not sure how much this helps but you can use the GetTempDirectory() function - on windows it will return the jrun temp directory. What platform are you on? On 4/14/06, Paul Brekelmans <[EMAIL PROTECTED]> wrote: > > > Hey there, > > i don't know if this is the right place for this question but > nevertheless here it comes :-) I'm building an upload progressbar in > cfmx with the use of java's BufferedReader class in jsp. This works > fine. But cfmx uploads to a diffrent temp folder than java's temp dir > is > > Why is this? And wha would the java code be to get jrun's > tempdiurectory and vice versa? > --------- > Jsp code sample > BufferedReader reader = new BufferedReader(new > FileReader(System.getProperty("java.io.tmpdir") + fileName)); > -------- > > Or am i just nuts?! > > Paul Brekelmans > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email to > [email protected] with the words 'unsubscribe cfcdev' as the subject > of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by > CFXHosting (www.cfxhosting.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] -- Kola BLOG:http://coolskool.blog-city.com/ SKYPE:kola.oyedeji "Time is an illusion. Lunchtime doubly so." - Douglas Adams ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
