masneyb / gftp

gFTP is a free multithreaded file transfer client for *NIX based machines. 56 language translations available.
http://www.gftp.org
MIT License
116 stars 21 forks source link

SCP Support? #141

Open dran1x opened 2 years ago

dran1x commented 2 years ago

Hello, I'm wondering if you guys can add SCP Protocol?

wdlkmpx commented 2 years ago

It's possible, currently SCP doesn't qualify as a GFTP protocol though

https://en.m.wikipedia.org/wiki/Secure_copy_protocol#Other_clients

As the Secure Copy Protocol implements file transfers only, GUI SCP clients are rare, as implementing it requires additional functionality (directory listing at least). For example, WinSCP defaults to the SFTP protocol.[9] Even when operating in SCP mode, clients like WinSCP are typically not pure SCP clients, as they must use other means to implement the additional functionality (like the ls command).[10] This in turn brings platform-dependency problems.

Pretty much like TFTP https://github.com/masneyb/gftp/issues/135

gFTP works only with directory listings, even the console app, a new method to download files without directory listings is to be devised in the future, of course the GTK ui cannot fully support it, maybe a dialog to insert a URL and download the file

In fact it's possible to support anything with the URL dialog without adding code, gFTP can become a GUI frontend for wget, scp, curl, ssh, etc. In the tools menu. They call it "added value"