Topic "Hi,Specifics chars in filenames with sFTP downloads."

Author Message
[View user's profile]

Joined: 2015-03-18
Posts: 1
Location: Paris (France)

In Visual Studio 2012.Net, i can't manage to download files with specific characters as '[' or ']'... I've tried with WinSCP 5.7 and sFTP protocol.

For all filenames containing these chars i have the message Script: No file matching '_fpswtlq3kgia6luaaacncn4paby_lggd-guid[fuuswvrztgkapqsaaaanpp0aaby_par3].wid' found.
I have no problem for other files.

Is there a workoaround for this trouble ?

Thanks in advance,
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26331
Location: Prague, Czechia
You have to escape the [.

If you are using WinSCP .NET assembly, you should use Session.EscapeFileMask on all literal paths:

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License