Update README.md
This commit is contained in:
parent
f8c9389026
commit
6e71abe8cc
17
README.md
17
README.md
|
@ -21,10 +21,25 @@ Then you need to check if ``libssl1.0-dev`` had been installed properly. If you
|
|||
|
||||
## Usage
|
||||
|
||||
./httpdirfs -f $URL $YOUR_MOUNT_POINT
|
||||
./httpdirfs -f $URL $YOUR_MOUNT_POINT
|
||||
|
||||
An example URL would be [Debian CD Image Server](https://cdimage.debian.org/debian-cd/). The ``-f`` flag keeps the program in the foreground, which is useful for monitoring which URL the filesystem is visiting.
|
||||
|
||||
Other useful options:
|
||||
|
||||
-u --user HTTP authentication username
|
||||
-p --password HTTP authentication password
|
||||
-P --proxy Proxy for libcurl, for more details refer to
|
||||
https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html
|
||||
|
||||
## Configuration file support
|
||||
There is now rudimentary config file support. The configuration file that the program will read is ``${HOME}/.httpdirfs/config``. You will have to create the sub-directory and the configuration file yourself. In the configuration file, please supply one option per line. For example:
|
||||
|
||||
$ cat ${HOME}/.httpdirfs/config
|
||||
--username test
|
||||
--password test
|
||||
-f
|
||||
|
||||
## SSL Support
|
||||
|
||||
If you run the program in the foreground, when it starts up, it will output the SSL engine version string. Please verify that your libcurl is linked against OpenSSL, as the pthread mutex functions are designed for OpenSSL.
|
||||
|
|
Loading…
Reference in New Issue