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

martin

The * in quotes should not work as mask. So I believe the problem is not on WinSCP side.

Quote from man page:

One can remove the special meaning of '?', '*' and '[' by preceding
them by a backslash, or, in case this is part of a shell command line,
enclosing them in quotes
Tom7

Problem is observed only on AIX version 5.3 (and maybe older). On new version file is removed correctly.
Tom7

The target system is AIX.
Tom7

File was removed from GUI (protocol SCP).
Here is the log:
Deleting file "*".

rm -f -r "*" ; echo "WinSCP: this is end-of-file:$?"
WinSCP: this is end-of-file:0
martin

Re: Remove file '* (asterisk)'

How do you remove the file? In GUI or scripting? What protocol? Can you please provide more details? Can you attach a full log file showing the problem?
Tom7

Remove file '* (asterisk)'

Hi,

If we remove file with name '* (asterisk)' then all files in directory are removed.
Affected version 5.5.1.3970.

Regards,
Tom