Skip to content

ShuraBlack/JhttpFileShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JhttpFileShare

JhttpFileShare is a straightforward application designed for local data exchange. It provides a simple interface for sharing files across different devices within your network. This tool is not just about transferring data, it’s about making local file sharing uncomplicated and efficient.

This application will start a local server to access your directories and transfer files to other devices.

❗️Disclaimer: Your JDK executable needs to be able to bypass your firewall before the server is accessible in your local network.
Win11 Tutorial by pureinfotech

License

This project is licensed under the Apache 2.0 license.
Copyright (c) 2023 ShuraBlack
For more information about the license, see apache.org or check the LICENSE file in the project

Dependencies

❤️ Thanks to all the great programmers out there, which made all of this possible

This project requires Java 11+ SDK
All dependencies are managed by Maven

Logging:

Testing:

Download Static Badge

Currently this project only supports GitHub Release with a .jar.

Java Arguments

JhttpFileShare Server x.x.x

USAGE:
	java -jar JhttpFileShare.jar [options/flags]

FLAGS:
	-ip					Shows all Network Interfaces
	-v, -verbose				Enables verbose mode (more informations Server-side)
	-nr					Disables the root folder restriction (Access entire file browser)
	-up					Enables uploading to the host mashine
	-h, -help				Shows this help

OPTIONS:
	-ip=<network_name>			Sets the IP Address to the given network name [default: 0.0.0.0]
	-p, -port=<port>			Sets the Port to the given port [default: 80]
	-threads=<size>				Sets the Thread Pool Size to the given size [default: 3]
	-root=<path>				Sets the root folder [default: user.dir]

Usage

Start the server with the following command:

java -jar JhttpFileShare.jar 

The CLI will show you the IP Address and Port of the server. You can now access the server with any device in your local network.

❕Disclaimer: I recommend to keep the default port, since you dont need to write it explicitly in the url.

If you are not sure about the IP Address of your server, you can use the -ip flag to show all available network interfaces and set the wanted Network Interface with the -ip=<network_name> option.

java -jar JhttpFileShare.jar -ip=wlan0

Example Page

Example