The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

otfile - Serve a single file, once, via HTTP over the local network.

SYNOPSIS

$ otfile [-a -p 1234] <file to serve>

OPTIONS

--auto or -a

Auto port selection. Increments specified port until successful.

--port=N or -p N

Use specified port, defaults to 1234.

--uuid=string or -u string

Use specified string in place of an UUID. Useful when using this script to serve a file to yourself on another machinee and you must manually type the URL.

--multiple or -m

Don't exit after serving the file the first time. For serving a file to multiple people. Requires, CTL+C to exit.

--self or -s

Serve a copy of the otfile script.

--help or -h

This help information.

AUTHOR

Mike Greb <michael@thegrebs.com>

COPYRIGHT

Copyright 2013- Mike Greb

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.