Closed Bu88le closed 6 years ago
Upon trying to implement it, I decided on adding this as a feature which can only be unlocked in the "advanced setting" because for a direct connection between two clients the user hosting the connection has to enable port forwarding on the port used for this file exchange. Another option, while not desirable, that would be possible and allow the clients to establish a direct connection is implementing a TPC-Punch-Through or creating a UDP connection, which is quite risky.
If people want to send each other big files (e.g. files > 64 MB) the clients could send the files to each other without sending them to the server first. This could happen by opening a direct connection to the other client and exchanging files. Both clients have to, of course, be logged in during the whole uploading and downloading, otherwise the connection would be terminated.
This may also require a own history (history of big files sent) which would have to be synchronzied with the server.
I'd really like to implement this feature, because this allows us to circumvent services like dropbox, integrate the users more intensly and because I really like the idea!