Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
stevenlmas #1
Help with backup script on DW site panel.
Has anyone figured out how to have DW JavaScript create a folder on the remote
site and rename it? We need to backup a file before we work on it so I want to
create an extension that allows me to right click on a file in remote view,
select 'backup', have DW check for a 'backup' folder, make a folder and name it
'backup' if there isn't, and copy the selected file to 'backup'. This makes
the folder: if (site.makeNewFolder()){ alert('Created folder'); } else{
alert('Unable to create folder'); } but I can't rename it. Since this leaves
the cursor in the sitepanel in 'rename file/folder' mode I can't figure out how
to progmatically rename the folder. Any ideas are greatly appreciated!
Regards, Steve
stevenlmas Guest
-
script to take backup
Hello all, i want to create a script to take backup of specific directories. eg: abc, xyz and bcd directories in root directory cd / find .... -
Printing the Site Panel?
"molly70" webforumsuser@macromedia.com wrote: I'm a Mac person and assume you're on Windows, but since it's urgent...... Press "Print screen"... -
udb backup script
HTH Sathyaram #!/bin/ksh db2owner=<instance-owner> # DB2 instance owner cd ~${db2owner} ./sqllib/db2profile -
how to backup site definitions?
hello, is there any way of backing up my site definitions? half of them disapeared a few months ago with all my ftp details etc, and i'm worried... -
HELP: SQL script to backup all databases
I would greatly appreciate some help, or a point in the right direction, please. I am new to MS SQL Server administration, and specifically... -
danilocelic *TMM* #2
Re: Help with backup script on DW site panel.
stevenlmas wrote:
Unfortunatley, the exposed API doesn't offer a way to do what you're looking to do.> Has anyone figured out how to have DW JavaScript create a folder on the remote
> site and rename it?
The only way I could imagine doing this would be with a scriptable 3rd part FTP program that you coudl invisibly pass the selected fodler name and connection info and it would then connect to the site see if there is a backup folder.
Or perhaps you could handle things locally. take the remote selection, find its match locally, create the local back up folder and copy the local file into it and upload that local copy. That would then place the copy in a backup fodler and only create if it isn't already present.
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
danilocelic *TMM* Guest



Reply With Quote

