Re: Extend delete to be economical
You probably refer to SFTP protocol. This protocol does not have "recursive delete" command. What you did requires opening separate shell session, similar to the one used by SCP protocol. So it has numerous disadvantages:
In other words if you know that it works for you and above limitations does not limit you, use it. But I cannot make it default behaviour. To make it easier, setup custom command "rm -r !".
- Requires second authentication. This can be annoying if you need to type the password again. And takes quite time over slow connections.
- User may not be allowed to open two connections at the same time.
- Requires unix environment on the other end (for the "rm" command), while SFTP is platform-indepenent.
- And many other... :-)
In other words if you know that it works for you and above limitations does not limit you, use it. But I cannot make it default behaviour. To make it easier, setup custom command "rm -r !".