The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.