Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
RobKendall #1
Writing to Configuration Folder
I use the DWfile.write function to create files in various locations on my hard
drive. I want to use the function to create a settings file that will be stored
in the Dreamweaver Configuration folder that contains the extensions I am
using. This will let the user change default values for the extensions, etc.
Whenever I specify the Dreamweaver configuration folder as the desination in
which to write the file, the function refuses to write the file. It doesn't
return an error, but the file isn't created. The function works fine with the
following parameters:
DWfile.write("file:///C|/Program Files/Macromedia/Dreamweaver MX 2004/" +
"testfile.xml", str)
But when the destination directory is /Configuration or any directory inside
/Configuration, the function doesn't work. For example, the following doesn't
work (and yes, the folder name is correct):
DWfile.write("file:///C|/Program Files/Macromedia/Dreamweaver MX
2004/Configuration/" + "testfile.xml", str)
It seems that Macromedia has disabled writing to the Configuration folder for
security reasons. Can anyone confirm this or suggest a way around the problem?
RobKendall Guest
-
Security --> Limit Writing On A Folder For Certain Users
Is there a way to limit the write permission for certain users... Lets say Jonny can only write a 100mb per session on folder "A" Or Johnny can... -
Intercept the auto-refresh of a folder in HTML folder template
Can anyone please send me the code to intercept the auto-refresh of a web page or folder (controlled by HTML folder template), or tell me where can... -
Setting writing permissions to a folder.
At ASP.Net application I have a folder which contains the files, being updated by the users. The application deployed by Web Setup project. The... -
Writing an ASP file to pickup folder for SMTP
Forgive me for asking this here. I know it is a stretch topic-wise, but there is only one SMTP group and very little in the way of anyone... -
configuration folder
there arr times when i like to uninstall and reinstall dream mx but am horrified at installing the extensions etcetc again & again is it right... -
Randy Edmunds #2
Re: Writing to Configuration Folder
This TechNote explains how the DW Configuration folder is now handled on
multiuser systems:
[url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16420[/url]
HTH,
Randy
> I use the DWfile.write function to create files in various locations on my hard
> drive. I want to use the function to create a settings file that will be stored
> in the Dreamweaver Configuration folder that contains the extensions I am
> using. This will let the user change default values for the extensions, etc.
> Whenever I specify the Dreamweaver configuration folder as the desination in
> which to write the file, the function refuses to write the file. It doesn't
> return an error, but the file isn't created. The function works fine with the
> following parameters:
>
> DWfile.write("file:///C|/Program Files/Macromedia/Dreamweaver MX 2004/" +
> "testfile.xml", str)
>
> But when the destination directory is /Configuration or any directory inside
> /Configuration, the function doesn't work. For example, the following doesn't
> work (and yes, the folder name is correct):
>
> DWfile.write("file:///C|/Program Files/Macromedia/Dreamweaver MX
> 2004/Configuration/" + "testfile.xml", str)
>
> It seems that Macromedia has disabled writing to the Configuration folder for
> security reasons. Can anyone confirm this or suggest a way around the problem?
>Randy Edmunds Guest
-
envision3d #3
Re: Writing to Configuration Folder
Normally the way you would do this is to have the file alreayd created and
stored in the configuration folder. Then, when the user applies the extension,
the file is copied to their root directory, normally in an
includes/extensionName folder.
Also, make sure you are veiwing/writing to the correct Configuration folder.
There is a configuration folder that is hidden. Try going to C:/Documents and
Settings/User Folder/Application Data/Macromedia/Dreamweaver 8/Configuration.
envision3d Guest



Reply With Quote

