++ed by:

1 non-PAUSE user.

Author image Michael Greb
and 1 contributors


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


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


--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.


Mike Greb <michael@thegrebs.com>


Copyright 2013- Mike Greb


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