Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTP support #8

Open
semyon-san opened this issue Apr 5, 2018 · 1 comment
Open

FTP support #8

semyon-san opened this issue Apr 5, 2018 · 1 comment

Comments

@semyon-san
Copy link
Contributor

What do you think of adding FTP support using curlftpfs? One could create a copy of sftpman (name it ftpman) and just substitute sshfs commands with curlftpfs but that's just silly.

One can solve it it two ways:

  1. Add protocol option to config file of sftpman to specify if you want to mount using ftp or sftp (easier way)
  2. Extract code base from sftpman that manages the mounted servers and name it "mounting engine". Then different implementations for different protocols (sftpman, ftpman) use the mounting engine but specifiy their unique commands to mount/unmount and parsing of their config files. (harder but better)
@spantaleev
Copy link
Owner

Sounds somewhat useful, but also like something which would introduce complexity on multiple levels:

  • the required dependency libraries/programs are different
  • the configuration options (authentication, etc.) are different depending on protocol

This would affect: packaging, internal management code, CLI interface, and even the GTK interface (sftpman-gtk).

Additionally, #4 should probably be implemented, as mounting under /mnt/sshfs using FTP doesn't make sense. Well, that, or we'd need to stop using /mnt/sshfs in favor of something better, which fits both SFTP and FTP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants