Author Topic: Server Management  (Read 11847 times)

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
Server Management
« on: December 04, 2007, 08:54:53 AM »
Creating a server
When you start Rightload the first time, the list of servers will be empty and you will not be able to upload any files. To create a new server, follow these steps:

  • Open the Server Management tab by clicking on Tools -> Options and then clicking on Servers on top (or just click Yes in the "Welcome to Rightload" dialog box)
  • Click the button New Server
  • Enter the name you want to give the server
  • A new form should open on the right of the window - fill in the connection details here
  • You can use the button Test to test your connection settings


Server Types

FTP
If you have a normal webspace, this will most likely be the right server type for you.

SFTP
SFTP is a more secure protocol that uses FTP via SSH. SFTP is not recommended, because it uses an external application to upload files, which leads to slow speed and instability. If you are using SFTP, your current upload speed and percentage uploaded cannot be displayed.

HTTP
Rightload now also supports uploads to HTTP sites like imageshack.us or other file hosts. Since these servers are rather hard to set-up, it is recommended you request a pre-defined server file from us instead.

Advanced Settings

Auto-Sort
Auto-sort allows you to let Rightload automatically sort your files to different directories depending on their extension. For example, you can define a rule that sorts all files ending with 'jpg' to the directory 'images'. Use 'Upload with auto-sort' from the context menu to activate auto-sort.

The Document Root Directory
Some servers require your files to be uploaded to a certain directory (e.g. /htdocs, /html, /domain.tld) before they show up on the web server. If this is the case for you, you can set the name of that directory here. Otherwise just leave it empty. This directory will not show up in the generated URLs. All other paths are relative to this directory.

Please note that root directories entered WITHOUT a slash ("/") at the beginning are relative to your home directory. That means that if your home directory is "/home/me" and your root directory "html", Rightload will upload your files to "/home/me/html". On the other hand, if your home directory is "/home/me" and your root directory "/html", the files will be uploaded to "/html".
Your home directory is usually the directory you start in when you connect to your server from a normal FTP client.


The Default Directory
Here you can define the folder that will initially be selected in the directory field in the main window when this server is selected. This can either be a folder you created in Rightload, a special setting like autosort or path mirroring, or any other directory name.

Path Mirroring Base
Path Mirroring allows Rightload to automatically determine the target folder of a file based on its location on your computer. For example, you might want all files saved under C:\Files\images to go to the directory "images" on the server, all files saved under C:\Files\texts go to the directory "text", and so on. To do this, you would just set the Path Mirroring Base to C:\Files and Rightload would figure out the target directory from that. This settings is useful if you want the files on your server to have the same directory structure as the ones on your computer, for example because you are developing a website.

The URL Mask
Sometimes, for example if your FTP host name differs from your actual host name, the URLs generated by Rightload will not be correct. You can fix this by setting your own URL mask. For that, you can use several variables:
$host will be replaced by the host name
$dir will be replaced by the directory the files were uploaded to
$file will be replaced by the file name
$user will be replaced by your user name

For example, 'http://myserver.edu/~$user$dir$file' will turn into 'http://myserver.edu/~username/exampleDirectory/exampleFile.exe'.

Use the button 'Preview' to test your URL mask.
« Last Edit: September 23, 2011, 08:11:03 PM by nk »