Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: C# SFTP Remote Side Panel

Well, this is not really a WinSCP question.
Anyway, WinSCP GUI also uses SHGetFileInfo to obtain icon for a given filename. So it should work, if you use the correct arguments. You can check FakeFileImageIndex function in WinSCP source code.
Maint Tech

C# SFTP Remote Side Panel

re: C# form VS 2013

I'm able to get the local side panel to show the actual icon for files, i.e.; pdf files show the Adobe Reader icon and docx shows the Word icon using
string[] s = Directory.GetFileSystemEntries("C:\\Shared Files");

But I'm having issues to obtain the remote side panel files to show the icons. I've already tried

I'm sure it's something I'm overlooking. Can anyone help with a solution?