When I configured ProFTPD to use as SFTP, i stumbled on the problem I had no permissions to overwrite a file. I found that I had to go to:
Webmin → Servers → ProFTPD Server → Access Control
And then set “Allow overwriting of files?” to ‘yes’.
Than all works fine. I wonder why is this not the default setting? I mean, you want to be able to overwrite files in 99% of the cases and if not, you could switch it of. Or did I overlooked something here?
I understand that the ‘default’ is in our case not allowed overwriting. But I mean, would it not be handy if the setting in Virtualmin would be default ‘yes’ instead of ‘default’. Seems to me much more people will struggle with this not?
As I typically use command line sftp I can’t answer that. I’ll ‘assume’ that your typical web designer would be the typical user? I don’t know what they see on their end with the client software. Does their client prompt? If so, I’d guess that would be the correct default. If it straight up disallows over writing, then that would be a bad choice.
It will display some ‘permission denied’ error. Which is confusing, because you got read permission and see all directories and files in your FTP program, “so why can’t I upload new files but not existing ones?!”
Maybe it has a good reason why this is by default. But for newbies this might be confusing were to look to change this, like me and Smedby.
look fella simply filezilla will allow you to use ssh without even knowing you are on ssh… do your research please. If you have trouble to do so - I guess we have nothing to talk about - ftp is ancient rubbish and dangerous… do your research.
anything is better then ftp… scp? is that windows ? be it… windows now support ssh… so no scp or whatever…