Topic "Unable to download files with [] characters in the name"

Author Message
sarquiss
[View user's profile]

Joined: 2013-10-07
Posts: 1
I have written an automation script using Powershell and the WinSCP .Net Assembly and have identified a potential bug.

When using the
Code:
$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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please read documentation:
https://winscp.net/eng/docs/library_wildcard

If that does not help, come back.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License