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

urnrg

Re: Renaming transferred file to remote server

martin wrote:

Anonymous wrote:

No problems. Is there a reason for this convention?

That's how masks work on Windows. Try
copy somefile _*_


Not exactly the same

WinSCP: foo.bar _*_.* -> _oo_.bar

Windows: copy foo.bar _*_.* -> _oo.bar_

It's close, though, and I learnt something of Windows. Thanks.
martin

Re: Renaming transferred file to remote server

Anonymous wrote:

No problems. Is there a reason for this convention?

That's how masks work on Windows. Try
copy somefile _*_
Guest

Re: Renaming transferred file to remote server

No problems. Is there a reason for this convention?

Thanks.
martin

Re: Renaming transferred file to remote server

That's exactly how it should work. You cannot do what you want to.
urnrg

Renaming transferred file to remote server

Hi. I came across an issue when I copy a file. If I want to rename a file but want to rename it from *.* to _*_.* (adding underscores in my case) the filename will be changed from foo.bar to _oo_.bar.

In fact, adding any number of characters at the beginning will simply replace the same number characters in the filename.

Is there a reason for this or did I find an anomaly?