Alan Kasindorf > MogileFS-Utils-2.26 > mogupload

Download:
MogileFS-Utils-2.26.tar.gz

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: MogileFS-Utils-2.29

NAME ^

mogupload -- Upload data to a MogileFS installation

SYNOPSIS ^

    $ mogupload [options]
    $ mogupload [options] --file="-" < filename

    $ mogupload --trackers=host --domain=foo --class=bar \
                --key="/hello.jpg" --file="input.jpg"

    $ echo "why hello" | mogupload [opts] --key="world" --file="-"

OPTIONS ^

--trackers=host1:7001,host2:7001

Use these MogileFS trackers to negotiate with.

--domain=<domain>

Set the MogileFS domain to use.

--class=<class>

Set the class to use. Will use default class if not specified

--key="<key>"

A key to store the file under. Can be an arbitrary string.

--file="<filename|->"

A local file to upload. If '-', read file from STDIN instead.

AUTHOR ^

Dormando <dormando@rydia.net>

BUGS ^

mogupload must buffer the upload in memory before transferring it. This makes it difficult to upload very large files. Future versions will lift this limitation.

LICENSE ^

Licensed for use and redistribution under the same terms as Perl itself.

syntax highlighting: