Shayton Equilibrium Kitchen Utensil 2003 User Manual

Page of 194
18 
 Chapter 2 
• 
• 
• 
A fully specified HTTP or FTP URL looks like the following:
(http|ftp)://<username>:<password>@<server name>:<port>/
<path to resource>
The <username>, <password>, and <port> portions of the URL are optional. Here are 
some examples of well formed URLs:
http://www.eq.com/images/eq_bw.gif
http://joeblow:abcdefg@acomputer/myimages/blah.jpg
ftp://ftpserver:1234/public/images/camera.tif
F S N e t   P r o p e r t i e s
A number of properties can be set in the local.properties file to influence the behavior of 
HTTP and/or FTP requests. These properties can be specified such that they affect all 
FSNet filesystems or so that they affect only a single filesystem.
To set a property that affects all FSNet filesystems, specify that property as follows:
filesystem.fsnet.<property name>
To set a property to only affect a single virtual filesystem, specify the property as follows:
filesystem.fsnet.<virtual filesystem name>.<property name>
The following example sets up a proxy host for all FSNet filesystems:
filesystem.fsnet.ProxyHost=ourproxyhost:3322
The following example sets the user name and password for just FTP access:
filesystem.fsnet.ftp.UserNameAndPassword=joeblow:tokyo
The specific properties that affect FSNet's operation are described in the following sub-
sections. As you read this information, remember that each of these properties can be 
specified such that they affect either a single virtual filesystem (“http” or “ftp”), or all 
FSNet filesystems (“http” AND “ftp”).
A u t h e n t i c a t i o n
Authentication is performed by supplying a user name and password to HTTP and FTP 
requests. These values can be supplied in the URL, as described in the previous section. 
They can also be set globally so that all HTTP and/or FTP requests use the same user name 
and password. This is done using the UserNameAndPassword property.
The following are two examples, one that sets a user name and password for all FSNet 
filesystems, and another that sets them only for FTP access:
filesystem.fsnet.UserNameAndPassword=joeblow:tokyo
filesystem.fsnet.ftp.UserNameAndPassword=tomjones:apassword