TeamAmaze / AmazeFileManager

Material design file manager for Android
https://teamamaze.xyz
GNU General Public License v3.0
5.27k stars 1.57k forks source link

Implement SFTP server for file transfer over SSH protocol #3124

Open TranceLove opened 2 years ago

TranceLove commented 2 years ago

A number of users had raised this, so I'm putting it up here anyway. Wish there will be enough interest and investments to throw in a bounty for kind-hearted devs to work on this.

Is your feature request related to a problem? Please describe. FTP server is considered obsolete and insecure for file transfers in 2022, even with SSL enabled. With modern devices' (even if it's a mobile phone) computation power it should not be difficult to handle file transmissions over SSH.

Describe the solution you'd like SFTP server replacing current Apache ftpserver implementation inside Amaze

Describe alternatives you've considered To reach the security we wish, just tell everyone to continue using FTP server with SSL enabled, and accept the fact that possibly only Filezilla can connect to it without problem.

Additional context Some considerations to push this through:

TranceLove commented 4 months ago

Adding one more consideration: Apache SSHD uses Java File API that are available only from Android 8.0. While technically feasible, I don't see any good reason to backport everything to old File API which is too expensive, inefficient and error-prone.