FTP server mapping settings

This window allows you to set the so-called mapping, i.e. assigning a folder on an FTP server to a URL where this folder is visible on the Internet as a website. The mapping functions are useful, for example, when you want to edit documents directly from the FTP server and be able to properly preview them. You can view them by adding a new mapping to the settings of the selected FTP server in the FTP server properties"> FTP server properties window.

At the same time, this window is also used to set the mapping-binding of the FTP server to the selected local project, which in turn is useful for automatic synchronization tools and for inserting files into documents opened from the server and setting relative paths to them, and for associating files on disk with the corresponding URLs when you have run an HTTP server on your computer (e.g. to execute PHP scripts, etc.). In this situation, the window will be opened using the buttons on the tab Mapping in the Project Properties window

Due to the variety of applications, the fields and their descriptions are slightly different.

Mapping for preview

The items presented below will appear in the window when you create or edit the mapping for previewing documents opened from the local disk (the window is opened from the tab Mappings in Project Properties ):

Mapping name
Enter here the name of the mapping under which it will appear in the list of mappings on the Mappings tab of the Project Properties window, as well as in the list of available mappings on the Overview tab.

Mapped folder
Here, enter the name of the folder (e.g. /public_html) to be mapped to the address below. You can use the button next to it to bring up a window allowing you to select a folder from the drive.

To an URL
Enter here the URL (e.g. https://127. 0.0.1/pajaczek/) to which the folder selected above will be mapped. This address will be used when viewing documents in Spider, and will also be passed to browsers when an external preview is called up.

Mapping on synchronization

The items presented below will appear in the window when you create or edit mapping during synchronization (the window is opened from the Properties-Mappings"> Mappings tab in the Project Properties window ):

Server name
Select the name of the server to be synchronized with from the list. Click the button next to the list to create a new server.

Local folder
Here, enter the name of the folder on your computer's disk (e.g. \public_html) whose contents are to be compared with the contents of the folder indicated below on the server. You can use the button next to it to bring up a window allowing you to select a folder from the disk.

Remote folder
Enter here the URL (e.g. /public_html), the contents of which are to be compared with the contents of the folder indicated above on your computer's disk.

The above settings affect the behavior of the program when editing files online - see below.

Mapping a folder on an FTP server to a URL

The items listed below will appear in the window when you create or edit mapping of the FTP server to the URL (for the server selected from the list in the window FTP server properties"> FTP server properties ):

Mapped folder
Enter here the name of the folder (e.g. /public_html) to be mapped to the address below.

To the URL
Enter here the URL (full address with domain and protocol) to which the folder selected above will be mapped. This address will be used when viewing documents opened for editing directly from the server.

The address entered here will also be used if you drag a document from Projects to a document opened online. In this situation, on the basis of this mapping and mapping during synchronization, the Spider will calculate the correct path to the dragged file and create a correct link in the document as if the dragged file was in the corresponding folder on the server (but it will not check whether it is there) .

Related topics

To top