Uploading to a remote site
The Publish window has three commands for transferring files from your computer to a remote site (a folder on a Web server):
- The Publish Entire Site command, available only in Site Mode, copies an entire local site to a remote site.
- The Mirror Upload command, available only in Site Mode, automatically copies selected local files and/or folders to their corresponding locations on a remote site, regardless of the current remote folder. For example, if the path (relative to the site’s root folderThe “home” or top-level folder of a local or remote site; the folder that contains the site’s home page or main index file. a root folder may contain subfolders in addition to documents.) of a selected local file is “/global/images/example.gif”, the Mirror Upload command will copy the file to the same location?quot;/global/images/example.gif”—on the remote site, no matter what the current remote folder is. If several local files in various folders are selected, the Mirror Upload command will copy each of them to its appropriate location on the remote site.
- The Upload command copies selected local files and/or folders to the current folder on a remote site. (See “Determining the current remote folder” below.)
With the Publish Entire Site command, you can transform the only files showed on the local pane to a remote site. If you want to upload temporary or backup files and/or site system files, then on the View menu, select Show Temporary/Backup Files and/or Show Site System Files.
To upload an entire local site
- If the Publish window is not open, press F4 to open it.
- On the toolbar, click (Connect Remote Site).
- Double-click the remote site to upload to. (If you have not defined any remote sites, Click Add and define one as decribed in Defining remote sites for publishing.) Namo WebEditor will now connect to the remote site.
- On the File menu, click Publish Entire Site.
To upload selected files and/or folders to a remote site
- If the Publish window is not open, press F4 to open it.
- On the toolbar, click (Connect Remote Site).
- Double-click the remote site to upload to. (If you have not defined any remote sites, Click Add and define one as decribed in Defining remote sites for publishing.) Namo WebEditor will now connect to the remote site.
- In the Local pane, select the files and/or folders you want to upload.
- Click (Mirror Upload). Namo WebEditor will copy the selected files to their corresponding locations on the remote site automatically.
To upload selected files and/or folders to a specific remote folder
- If the Publish window is not open, press F4 to open it.
- On the toolbar, click (Connect Remote Site).
- Double-click the remote site to upload to. (If you have not defined any remote sites, Click Add and define one as decribed in Defining remote sites for publishing.) Namo WebEditor will now connect to the remote site.
- In the Local pane, select the files and/or folders you want to upload.
- In the Remote pane, select the folder to which you want to upload the local items. (Note that the remote site’s root folderThe “home” or top-level folder of a local or remote site; the folder that contains the site’s home page or main index file. a root folder may contain subfolders in addition to documents. is initially selected.)
- Click (Upload).
Determining the current remote folder
Namo WebEditor uses the following rules to determine which remote folder is current—that is, which remote folder will be the destination of an Upload command at any given time. (The current remote folder is not relevant when you use the Mirror Upload command.)
- When you connect to a remote site, the current folder is initially the site’s root (top-level) folder.
- If a folder is selected (highlighted), it is the current folder.
- If a file is selected, the folder that contains it is the current folder.
- If items in multiple folders are selected, the last selected item determines the current folder.
- If no folder or file is selected, the current folder is the site’s root folder.