https://winscp.net/tracker/1074 Source commit: a71132f652a2e7164ac5932e0ed4b2cd6236d0ff
@@ -2400,7 +2400,7 @@ void __fastcall TFTPFileSystem::ReadCurrentDirectory()
if (Result)
{
- if ((Path.Length() > 0) && (Path[1] != L'/'))
+ if ((Path.Length() > 0) && !UnixIsAbsolutePath(Path))
Path = L"/" + Path;
}