JavaScript tutorial:
Website Management


Defining a website allows your JavaScript Editor to assist you in two common tasks:

  • Transferring files from your computer to the Internet and vice versa, and

  • Viewing your files on the Internet.

To define a website, select File / Manage Websites from the menu. This opens the Manage Websites dialog:

manage websites

The following commands are available:

New. This option allows you to specify the name of your website and creates the default website template.

Edit. This options allows you to edit your website settings.

editing website settings

  • Local root folder. This is the root (base) folder of your website.
    Important: Windows file and folder names are not case-sensitive, but in UNIX/Linux they are. To avoid errors with lowercase / uppercase names, site management in JavaScript Editor is case-sensitive.

  • HTTP address. The URL to your website - JavaScript Editor needs this information to be able to open your files for viewing on the Internet.

  • FTP host. Enter the FTP host, which you have received when you've opened an account with your web hosting provider. We are using Webmasters.

  • Host folder. The root folder of your website on the remote server. If you are using Webmasters, the host folder is httpdocs/

  • Username and password. The login information you have received when you've opened an account with your web hosting provider.

  • Number of retries. If the connection to the remote site fails, JavaScript Editor will try to reconnect. By default, the number of retries is 5.

  • Retry delay. Delay (in seconds) before attempting to reconnect.

  • Port number. By default, the port number is 21.

  • Passive transfer. Your FTP host is likely to support passive transfers - if unsure leave this option checked.

Delete. This option removes the selected website. Once removed, the action cannot be un-done.

Open site in project pane. This option lists your site files and folders in the Project pane for convenient access:

website pane

Double-click the file to open it in JavaScript Editor.

Alternatively, right-click to open the context menu:

site context menu

Open in JavaScript Editor. Same as double-clicking the file - it opens it for editing.

Change site. Opens the Manage Websites dialog, allowing you to select a different site to display in the Project pane.

Refresh. Updates the listing of files and folders.

Open. Opens the file in the associated application.

Delete. Removes the file.

Properties. Opens the File Properties dialog.

Get. Downloads the file from the internet and replaces the file on your computer with the downloaded version.

Put. Uploads the selected file to the Internet.

Tip: Use Put / Get to transfer individual files to to / from the Internet.
Select File / Publish using QuickFTP to transfer multiple files.