Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 2.14 KB

README.md

File metadata and controls

59 lines (37 loc) · 2.14 KB
   ____        _      __   _______ __   
  / __ \__  __(_)____/ /__/ ____(_) /__ 
 / / / / / / / / ___/ //_/ /_  / / / _ \
/ /_/ / /_/ / / /__/ ,< / __/ / / /  __/
\___\_\__,_/_/\___/_/|_/_/   /_/_/\___/ 

FTP Server & Client With GUI

gui_example

gui_example2

server_example

client_example

Compiling & Running

  • Windows:

  • Compile: javac -cp "lib\*" src\*.java

  • Run (client): java -cp "src;lib\*" Driver

  • Run (server): java -cp "src;lib\*" Server

  • OSX/Linux:

  • Compile: javac -cp "lib/*" src/*.java

  • Run (client): java -cp "src:lib/*" Driver

  • Run (server): java -cp "src:lib/*" Server

  • Clean up:

  • rm -r src\*.class

-or-

Download the windows release from the releases page.

Usage

Drag and drop files into the GUI to send them over LAN directly to the root of the server.

The client will automatically detect other running clients on startup as long as they are on the same network and port 54321 is available.

If an additional client is opened after the initial detection, there is a Refresh Connections option in the file dropdown.

There are multiple strategy patterns to choose from for Handling file inputs including a recursive extraction of .zip files.

You may change the default download location from the root of the executable to another directory of a given client from the file dropdown and choosing Download Location.

Use the .ignoreExtensions file like a .gitignore with the Filter strategy. An example .ignoreExtensions is available.

The view menu contains multiple themes to fit your workspace.

By default, the system binds to port 54321.

Java

https://www.oracle.com/java/technologies/downloads/#jdk17-windows