Topic "Listing files matching wildcard"

Author Message
[View user's profile]

Joined: 2017-08-30
Posts: 1
I used the exact script from:

Contents » .NET Assembly » Examples » Listing files matching wildcard

When I execute the script it returns:
PS C:\sftp script> C:\sftp script\mhd_test_v3.ps1
No files matching ".csv" found

However, there are hundreds of .csv files on the remote server. I have read/write/modify permissions on the remote server. I can list the files from command line but the "Listing files matching wildcard" script is not returning any results.
Am I missing something?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27058
Location: Prague, Czechia
The article shows that a mask to use is like *.txt, not .csv.

See also

You can post new topics in this forum


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