Closed Xinayder closed 2 years ago
Been thinking of doing this a while back when I need to test the embedded FTP server, just my daytime work kept on keeping me away from doing so.
Contributions are always welcome! Please read the contribution guidelines too.
Additionally, you may want to support FTP over SSL as well - Amaze's embedded FTP server supports this too - you may take reference from Filezilla.
I've begun working on the FTP client, and I have a few questions:
com.amaze.filemanager.filesystem.ftp
, copying some bits from the current SSH implementation?@RockyTV will drop my few recommendations.
utils/SmbStreamer
and utils/cloud
packages to present a streamable source for media apps to open files from the server instead of downloading them.Why trying to implement FTP client when we already have SFTP client.
Because for file transfers at home, plain FTP is more than good enough.
SFTP/FTPS may be good for a private cloud server, but when pulling files from my mobile phone to the computer through local ethernet, FTP in FileZilla does the job just fine.
Another suggestion if the FTP client feature gets implemented:
(I was about to open a new issue for it, but then I thought I just post it here for now.)
When uploading files to an FTP server, I would sometimes like to keep the original modified time attribute.
More recent implementations of FTP support the Modify Fact: Modification Time (MFMT) command, which allows a client to adjust that file attribute remotely, enabling the preservation of that attribute when uploading files. (Source).
Yes, I can pull the files from FileZilla on my computer (which supports preserving the time stamp), but sometimes I would just like to upload them from the comfort of my phone upon space storage exhaustion without having to run to the computer.
(I just have to figure out how to enable MFMT in vsftpd
.)
Side note: Obviously, an MFMT FTP server on an Android phone would not be possible without root access, because adjusting the date/time file attribute on Android apparently requires root permissions.
I've seen the previous issues and I still have the question if Amaze will have a FTP client so it can access external FTP shares. Is it a planned feature? If not, I'd like to try implementing it.