ActiveState Powered by ActiveState

ActiveState Community


Save Locally AND Remotely - Komodo Edit

Posted by codazoda on 2008-05-08 09:09
OS: All / Any

Is it possible to setup Komodo so that it saves both locally and remotely when clicking "save"?

I've started with a local file, edited it, then used 'Save Remotely' to save it to a remote server. This works great, but all future changes will be saved remotely automatically.

I would either like "save" to default to always saving locally, so I have to use 'Save Remotely' to force a remote save, or have "save" save it locally and then transmit it remotely.

Is either possible?

Thanks,
Joel

shanec | Thu, 2008-05-08 10:14

Probably the best way to handle this is with rsync. If you do a search in the forums here, you'll find a number of postings about using rsync.

ToddW | Thu, 2008-05-08 16:05

Hi Joel,

There was some additional talk on this previously here:
http://community.activestate.com/forum-topic/save-remotely-as-vs-uploa

Cheers,
Todd

codazoda | Mon, 2008-05-12 11:56

My solution was to write a quick PHP script that uses SCP to upload the file for me. Then, I recorded a macro that does SAVE and then RUN my script.

Not a simple solution to create, but it works great.

-->