Re: When the file was accidentally renamed to “.”, the current directory was forcibly removed
That's expected. Just that by default, you would get a warning saying:
You probably have overwrite confirmations disabled. Re-enable them if you want to we warned:
https://winscp.net/eng/docs/ui_pref_environment
Directory '.' already exists. Overwrite?
All files in the target directory will be deleted!
You probably have overwrite confirmations disabled. Re-enable them if you want to we warned:
https://winscp.net/eng/docs/ui_pref_environment