Skip to main content
Inspiring
June 17, 2006
Answered

DWfile.write returning 0

I'm trying to create a temp file for my extension, but it isn't working, here is the code I'm using.

DWfile.write(dreamweaver.getConfigurationPath()+"Temp/myFolder/myFile.htm", "")

What am I doing wrong??

Thanks
This topic is closed to new replies. Start a new post to keep the conversation going.
SClukeyCorrect answer
Inspiring
June 19, 2006
Hey, I figured it out, I nedded to put a "/" before the next folder. So the code should be:

DWfile.write(dreamweaver.getConfigurationPath()+"/Temp/myFolder/myFile.htm", "")

1 reply

SClukeyAuthorCorrect answer
Inspiring
June 19, 2006
Hey, I figured it out, I nedded to put a "/" before the next folder. So the code should be:

DWfile.write(dreamweaver.getConfigurationPath()+"/Temp/myFolder/myFile.htm", "")
Translate