fengyuzheng2020 / GoFileServer

GoFileServer is a lightweight and customizable file server written in Go, providing a simple and secure way to upload and download files. It includes features such as configurable upload directories, support for various file types, and straightforward file management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoFileServer

GoFileServer is a lightweight and customizable file server written in Go, providing a simple and secure way to upload and download files. It includes features such as configurable upload directories, support for various file types, and straightforward file management.

Features:

File Upload: Easily upload files via HTTP POST requests. File Download: Download files from the server with proper content disposition. Configurability: Customize upload directories and server port via command-line parameters. Minimalistic Design: Keep it simple and easy to understand, making it a great starting point for building file-related applications. Usage:

Upload files with a simple HTTP POST request. Download files with a GET request to /download/filename.

Getting Started:

# Clone the repository
git clone https://github.com/yourusername/GoFileServer.git

# Navigate to the project directory
cd GoFileServer

# Run the server with default settings
go run main.go

# Customize upload directory and port (optional)
go run main.go -upload-dir=/path/to/upload/dir/ -port=8080

Explore the potential of GoFileServer for your file management needs!

About

GoFileServer is a lightweight and customizable file server written in Go, providing a simple and secure way to upload and download files. It includes features such as configurable upload directories, support for various file types, and straightforward file management.

License:Apache License 2.0


Languages

Language:Go 82.8%Language:Dockerfile 15.6%Language:Shell 1.6%