The Simple-File-Transfer Java Application
The Idea
The idea is to use the OneMinuteServer to transfer files from A to B.
There are some special reasons why you use this instead of other solutions.
- It is easy to use. One Click, and it is working (If the Directory exists.)
- It´s using normal Http-Ports.
- The file is nowhrere stored in complete. Just parts for a minute on the OneMinuteServer.## How it works
If you select a file to send, the file will be splitted in parts, each 1000 bytes. And send to the server, one by one. With a short delay. Maybe the transfer of the file last a few seconds, or minutes. Depending on the size.
If you select Receive, the server is asked every few seconds, if there is a file available. If there is a file, the parts are fetched, one or more parts at a time. If the file is complete, it is written to the desination-directory.
More than one person can receive at a time, and more than one can send.
For example, if you have 10 friends, you can send them all a file at once.
It´s important to have the same clientid, which is like a key on the server.
With this simple version, you should not send and receive at the same time.
Next project will have more possibilities.
Overview

Source-Code
Find it on github: https://github.com/hbreinecke/simple-file-transfer