Topic "Cannot browse/open file with name "con" "com1" "lpt1"..."

Author Message
wai

Guest


Hello
I find winscp cannot browse to folder/open file name with some preserved keywords (con, com1, lpt1 etc...)

Folder
1) in cmd, create folder:
Code:
md "\\.\R:\con"

2) put some files in con folder:
Code:
echo abc>"\\.\R:\con\a.txt"

3) verify it:
Code:
type "\\.\R:\con\a.txt"

4) Try to browse to con folder in winscp, no response on double click
5) Right click on con folder, folder disappear?

File
1) in cmd, create file:
Code:
echo abc>"\\.\R:\con"

2) verify it:
Code:
type "\\.\R:\con"

3) Try to open to con file in winscp, messagebox with "Cannot open R:\con" shows
4) Right click on con file, file disappear?

Preserved name can be created via UNC path, would winscp support reading these filenames?
thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks for your post. This issue has been added to tracker.
_________________
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