Skip to content

davit312/on-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

on-server

Web file server for download and upload files. Useful for quick file sharing.

Installation

Locate to on-server folder and run

go build -o ./bin/on-server

command to build module.

Usage

Execute ./bin/on-server file, open given address with web browser. 🔛

Command-line flags list.

  • -ip Server ip address, if not provided listens to all interfaces

  • -port Port number (default "2100")

  • -path Server files root (default current path)

  • -message-path Text message files location (default current path)

  • -upload-path Uploaded files location (default current path)

  • -no-files Disable files listing

  • -no-message Disable text submit

  • -no-upload Disable file upload

  • -send-limit Maximum allowed data to send in MegaBytes (default 64)

  • -show-ip6 Show IP6 addresses in list if 'ip' not provided

  • -enable-index Fix build-in server limit and allow to load index.html file

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages