dir/ls only works with specific file if using a wildcard

Advertisement

fsabelha
Guest

dir/ls only works with specific file if using a wildcard

Winscp.com Version 5.15 (Build 9365) on Windows Server 2012 R2

We have a new problem after upgrading WinSCP. I can only get dir or ls to find a specific file if I add a wildcard at the end of the filename.

Example, I first make sure the file is there with a dir on the directory:
winscp> dir ./data/incoming/immediate/
---------- 0 47 Jun 26 14:10 franktest.txt

Next, I try to dir the specific file:
winscp> dir ./data/incoming/immediate/franktest.txt
Error listing directory './data/incoming/immediate/franktest.txt'.
Could not retrieve directory listing
The filename, directory name, or volume label syntax is incorrect.
(A)bort, (R)etry, (S)kip: Skip

But, if I add a wildcard to the end of the file, it lists the file okay:
winscp> dir ./data/incoming/immediate/franktest.txt*
---------- 0 47 Jun 26 14:10 franktest.txt

Thank you.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum