nbdkit-curl-plugin - Online in the Cloud

This is the command nbdkit-curl-plugin that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


nbdkit-curl-plugin - nbdkit curl plugin (HTTP, FTP, SSH and other protocols)

SYNOPSIS


nbdkit -r curl url=http://example.com/disk.img

nbdkit -r curl url=sftp://you@example.com/~/disk.img

DESCRIPTION


"nbdkit-curl-plugin" is a plugin for nbdkit(1) which turns content served over HTTP, FTP,
SSH, and more, into a Network Block Device. It uses a library called libcurl (also known
as cURL) to read data from URLs. The exact list of protocols that libcurl can handle
depends on how it was compiled, but most versions will handle HTTP, HTTPS, FTP, FTPS and
SFTP (see: "curl -V"). For more information about libcurl, see <http://curl.haxx.se>.

Note: This plugin supports writes. However:

· For HTTP, you may not want nbdkit to issue PUT requests to the remote server (which
probably doesn't understand them).

· SFTP helpfully truncates the target file when you open it for writing. Not useful!

To force nbdkit to use a readonly connection, pass the -r flag.

EXAMPLES
Basic usage is:

nbdkit -r curl url=http://example.com/disk.img

which serves the remote disk image as a NBD on TCP port 10809 (to control ports and
protocols used to serve NBD see nbdkit(1)).

You can also access SSH servers. This uses the SFTP protocol which is built into most SSH
servers:

nbdkit -r curl url=sftp://example.com/~/disk.img

You may need to specify a username and/or a password. In this example the password is
read from stdin:

nbdkit -r curl url=sftp://example.com/~/disk.img username=fred password=-

PARAMETERS


password=PASSWORD
Set the password to use when connecting to the remote server.

Note that passing this on the command line is not secure on shared machines.

password=-
Ask for the password (interactively) when nbdkit starts up.

sslverify=0
Don't verify the SSL certificate of the remote host.

timeout=SECS
Set the timeout for requests.

timeout=0
Use the default libcurl timeout for requests.

url=URL
The URL of the remote disk image. This is passed to libcurl directly via
"CURLOPT_URL" in curl_easy_setopt(3).

This parameter is required.

user=USERNAME
Set the username to use when connecting to the remote server. This may also be set in
the URL (eg. "http://foo@example.com/disk.img")

Use nbdkit-curl-plugin online using onworks.net services



Latest Linux & Windows online programs