Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

wienciu

The protocol was SFTP
wienciu

I can't reproduce the problem because I don't have a test server. The incorrect command was executed on the production server and I had to restore data from backups.
martin

Thanks. Though can you answer all my questions?
wienciu

Version: 5.16 beta (Build 9865)
martin

Re: A big problem when deleting wrong directory

Can you reproduce the problem? What version of WinSCP?
Testing the same scenario (assuming SCP protocol), WinSCP executed rm -f -r " 33082019-A", as expected.
wienciu

A big problem when deleting wrong directory

I have created a directory on the server with a leading space in the name. After clicking "delete" the following command was executed:
rm -R /home/www/temporary/ 33082019-A
This caused that all the contents of the parent directory were removed.