+1 for SFTP to support some faster shell commands.
(using Custom Commands is a way yes, but it's easier when WinSCP uses them as default for delete and size infos etc.)
I've also found a bug when using SCP, when I try to change the owner/group of any folder recursively and set all permissions to not change at all, I get this one:
---------------------------
Error
---------------------------
Cannot change properties of file 'wt_ts'.
---------------------------
Command 'chmod -R "wt_ts"'
failed with return code 1 and error message
chmod: missing operand after `wt_ts'
Try `chmod --help' for more information..
---------------------------
Abort Retry Skip Skip all Help
---------------------------
where
wt_ts
is a folder:
/home/wt_ts
and the owner/group was set to
root
.
So I don't know why WinSCP does this.. since the owner/group is missing there but anyway... except this error message, everything seems to work.
(so successfully changed owner and group to root^^)
Even with SCP do I use this Custom Command to be on the safe side^^
chown -R "!?prompt?www-data!:!?prompt?www-data!" "!"
In my eyes, WinSCP has to change many little things to get more user friendly. Eg. when using SFTP also use the Shell when available to speed up things or even easier change permissions because you can enter any User/Group by name and do not need to know their number/id
when using SCP (my choice for now) allow more things like Calculate checksums like for SFTP using
md5sum
and other Shell commands
And yes.. I understood the problem using shell commands... their output isn't always the same especially for other languages, but regular expressions can help a lot ;)
(in worst case: the community will help out i believe, so they will "translate" them)
PS: I can offer you my service to help to improve WinSCP... but for that one i have to understand your source :D It isn't easy to use within few minutes...
I'm using WinSCP 4.3.1 beta