ActiveState Community

Saving both on server and local

Posted by grubolsch on 2008-03-26 15:17

I'm looking for a way (I prefer a free one), either by an extension or a macro, to be able to save a file with one click both on a server (a remote save), and a local save.
I'm trying to get all devvers on my work (a webdesigncompagny) to komodo, but currently we are working on dreamweaver, but that just so sloppy with PHP. Komodo would give us a great performanceboost.
Now, the mainreason for using dreamweaver currently is the option to save a file both remotly and locally with one save. If I could find a way to do the same with Komodo, I could finaly kick DW out. :D
Can somebody help me?

troyt | Thu, 2008-03-27 12:58

This should be possible with a macro, but you might also want to try using something like rsync to do this for you:

http://www.samba.org/rsync/

It's available for Windows via Cygwin. Here's a page describing how to set it up:

http://www.gaztronics.net/rsync.php

The process would be a little different from what you've described. Basically, you would save your files locally, and an rsync process would synchronize your local files with a directory on your server.

Another approach would be to use a source code control system like SVN, and run an 'svn up' on the server once you have committed your changes.

I know this sounds a bit like passing the buck; they're just suggestions. I've done a bit of macro experimentation but I haven't managed to get a macro working which does what you describe without prompts.

grubolsch | Thu, 2008-03-27 13:17

Thanks, will try that http://www.samba.org/rsync/ out.