Opening and editing documents directly on the server

Spider allows you to open, edit and save documents remotely. This means that it is possible to make changes directly to the website files. Such a document can also be viewed in the Browse tab. All this is done in the same way as for files on the local hard drive.

This can significantly speed up the work when, for example, you need to quickly correct something on the site, and there is no local copy on the computer, or it is out of date (e.g. when working in a group).

Preparation for work online

To edit documents online, you must configure a remote server connection in the Servers tab. If you have Server Properties set for a server, you don't need to change anything in that server to open and save changes to remote documents.

To view a document hosted using FTP, you must set mapping path on the FTP server to URL . This mapping determines the URL to use to view the edited file.

Due to the fact that WebDAV is an extension of the HTTP protocol, no mapping is required when using this protocol. Simply put, the address of the WebDAV server is also the address where the document is available.

Online file editing

Once all options are set, you can edit the files on the server via the Servers tab just like the files from your local disk via the Projects . To open the file, use the command in the toolbar on the right side of the tab. Further editing, saving, etc. is the same as when editing a local file.

Files opened online are marked, to distinguish them from files opened locally, with a ball with a blue arrow:
  • means a file that does not require saving (new or saved after making changes)
  • indicates a file with changes made after which it was not saved

Additionally, the 'Friendly name' of the server from which the document was opened is displayed on the title bar of the program.

Edit locked file
If you try to open a file locked by another user for editing, a corresponding message will be displayed. Such a file cannot be saved without first removing the lock. This prevents changes being written while the file in question is being edited by another user.

Warning of overwriting a file opened remotely
Enable this option so that Spider warns you before you try to write a file on an FTP or WebDAV server that you simultaneously have open remotely for editing in Spider.

Inserting links

When editing a remote file, you can insert links to it. In order to facilitate the insertion of links to the site files in which the edited file is located, a mechanism has been created that allows selecting a file from a local site. This mechanism uses the mapping settings for site synchronization .

The mechanism works in such a way that it checks the location of the remotely edited file on the server and the location of the linked file in the local site. Then, using the synchronization mapping, it determines a relative path to that file on the server and inserts it into the document.

Note!
The path to the target file is inserted without checking whether the target file exists on the server. It should be posted there for the link to work properly.

Related topics

To top