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

sarquiss

Unable to download files with [] characters in the name

I have written an automation script using Powershell and the WinSCP .Net Assembly and have identified a potential bug.

When using the
$session.GetFiles($remotePath, $localPath, $remove, $TransferOptions)

command and file which has the [ or ] or [] anywhere in the name (e.g. [abc]_xyz.doc) is not downloaded. Was wondering whether anyone has encountered?

I am using the latest beta version of the .Net Assembly