Warning: You're looking at a styleless page because your browser is ignoring CSS styles. You're probably using a very old browser, or you disabled CSS support by purpose. We suggest you to download a modern browser such as Firefox or Internet Explorer.

Publishing the active document

If you just want to publish the document you are currently editing, you can save yourself the time needed usually by finding the file in the Solution Explorer , selecting it, right-clicking on it and clicking on FTP Publish... , by using one simple script command: FTPPublishActiveDocument .

For example you are working on a simple file that you want to publish in the server shown in your FTP Explorer :

Go in the Tools menu and select Publish active document... :

The publish dialog is shown and allows you to specify how the file should be published:

and click on OK to publish it.

To go even faster, you can select the Publish active document with previous publish settings menu item:

Publication will start immediately without asking you for the settings (the settings used the last time for your project will be used again):

Customization

By default, this command does not have a keyboard shortcut, but you can specify it yourself to you convenience in the action settings dialog page.

You can also use the FTPPublishActiveDocument command in a action's script you create yourself, for example you could create an action with the following script

FileSave
FTPPublishActiveDocument("True")

This command will save the current document and publish it automatically. The second optional parameter indicates that the previous publish settings should be used, instead of showing the publish dialog.