Page 1 of 1
New future: Archive and Unarchive over SFTP
Posted: 2021-01-13 07:26
by Gravip
Hello developers, I used Cyberduck a lot and they have future like Archive and Unarchive files or folders over SFTP from context menu. Ask you to add that future too
Thanks
Re: New future: Archive and Unarchive over SFTP
Posted: 2021-01-13 17:28
by botg
Such functionality is not part of the SFTP specifications, it cannot possibly be added.
Re: New future: Archive and Unarchive over SFTP
Posted: 2021-01-14 07:31
by Gravip
SFTP is the same as SSH - it get you possible everything. And that future works in Cyberduck - they are also open source and you can watch how they did it
That is last future about what I miss in FZ
Re: New future: Archive and Unarchive over SFTP
Posted: 2021-01-14 08:54
by botg
SFTP is not the same as SSH. SFTP is just a subsystem of SSH. It is well specified, what the SFTP subsystem can do. What isn't specified, cannot be done.
A shell is a different subsystem. It is not specified how the shell works once started, it is simply not portable. What a client might think of a command to unarchive a file, for the shell it might just as well be the command to delete the entire filesystem or to launch nuclear missiles against <insert politically opposed regime here>.
Re: New future: Archive and Unarchive over SFTP
Posted: 2021-01-14 09:04
by Gravip
Ok, and how Cyberduck do it over SFTP connection?
Re: New future: Archive and Unarchive over SFTP
Posted: 2021-01-14 09:14
by botg
It doesn't do it over SFTP, it plays Russian roulette with your files by invoking arbitrary commands in the shell subsystem.
Re: New future: Archive and Unarchive over SFTP
Posted: 2021-01-14 09:27
by Gravip
Eh
But maybe will be good idea to add line for terminal commands for SFTP connections? If it is scary to add binded commands
Re: New future: Archive and Unarchive over SFTP
Posted: 2021-01-14 13:12
by boco
SFTP doesn't have any shell. The shell is from SSH2, and FileZilla has no support for the full SSH2 protocol.
Don't mix up SFTP and SSH2, SFTP is only the transfer subsystem.