| Store | Cart

ActiveState Docs

Komodo 6.0 Documentation

Loading...

Publishing Komodo IDE only

Publishing synchronizes groups of files between local and remote systems over FTP, SFTP, FTPS or SCP. You can upload a group of files from your local system or download a group from the remote system and keep the synchronized. Local changes are pushed to the remote server, and remote changes are pulled to the local system.

Komodo keeps track of the synchronization details to avoid copying files that haven't changed and uses advanced conflict detection to avoid overwriting changes made by others.

You can use Publishing for deploying websites to the hosting web server, or use it with remote storage as a simple backup utility.

Creating a Configuration

To launch the Publishing configuration wizard, click Tools|Publishing|New Configuration. You will be prompted to set up:

  • Name: A convenient name for your saved configuration.
  • Local path: The full path to the local directory. Use the Browse button or enter the path manually.
  • Remote path: The URI of the remote directory, including the hostname and full path. Use the Browse button to navigate to a previously configured server, or enter the URI manually (e.g. scp://username@servername/path/to/dir)
  • Includes: File types to be included in the synchronization. Use glob syntax separated by semi-colons (e.g. "*.html;*.xml") or leave blank.
  • Excludes: File types to be excluded from the synchronization. Same syntax as above. If you use both, the Excludes list takes priority if there are conflicts.

Clicking "Save" opens the Synchronization dialog box and shows the details of the pending synchronization.

Synchronizing

The Synchronization dialog box shows:

  • which local files will be uploaded to the server
  • which remote files will be downloaded from the server
  • which files cannot be synchronized because of a conflict
Synchronization dialog box

The following actions are available:

  • Check All: selects all items in the list.
  • Uncheck All: de-selects all items in the list.
  • Diff Changes: shows a unified diff of all pending changes (selected files).
  • Synchronize: starts the pending uploads and downloads.

When synchronizing, Komodo will examine the local and remote locations for any file differences and present the changes for your inspection. Check the files you wish to be transferred (or use Check All). Clicking Synchronize will copy the files between the local and remote file systems. The synchronization be aborted at any time by pressing the Stop button.

Conflicts

If a file has been modified locally and remotely, the conflict will be highlighted in the file list. Right click on any file in the file list to bring up a context menu with the following options:

  • Diff: Show the line-by-line differences between the files.
  • Resolve conflict: Lets you choose one file or the other - Upload the local file or Download the remote file.