You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FtpWebRequest method "ListDirectoryDetails" returns broken result for encrypted connetion #134130
It contains two target frameworks ("net9.0-windows" and "net10.0-windows"), so launch it with both to compare the results.
In the sample, enter FTP server address, login and password and set the checkbox "Encrypt connetion".
Then click "Directory listing".
This should work with .NET9, but show a broken response with .NET10.
Expected behavior
.NET10 should report a plain text listing identical to .NET9.
changed the title [-]FtpWebRequest Method "ListDirectoryDetails" returns broken result for encrypted connetion[/-][+]FtpWebRequest method "ListDirectoryDetails" returns broken result for encrypted connetion[/+]on Sep 17, 2026
The bot is right, dotnet/sdk#52324 is the same issue. But I will keep this one open, as I think the "runtime" repo is the proper place to report this.
I found another issue about regressions in .NET 10 FTP upload, where the broken output is mentioned in comment #123135 (comment). Part of issue #123135 seems to have been fixed in .NET11: #123234, but this fix probably does not handle the broken output.
Activity
[-]FtpWebRequest Method "ListDirectoryDetails" returns broken result for encrypted connetion[/-][+]FtpWebRequest method "ListDirectoryDetails" returns broken result for encrypted connetion[/+]dotnet-policy-service commentedon Sep 17, 2026
Tagging subscribers to this area: @karelz, @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
MihuBot commentedon Sep 17, 2026
I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
WolfgangHG commentedon Sep 17, 2026
The bot is right, dotnet/sdk#52324 is the same issue. But I will keep this one open, as I think the "runtime" repo is the proper place to report this.
I found another issue about regressions in .NET 10 FTP upload, where the broken output is mentioned in comment #123135 (comment). Part of issue #123135 seems to have been fixed in .NET11: #123234, but this fix probably does not handle the broken output.
wfurt commentedon Oct 2, 2026
I tried to reproduce it @WolfgangHG and not seems like #123234 resolves it as well. please give it shot with .NET 11 RC1+ and share the outcome.
dotnet-policy-service commentedon Oct 2, 2026
This issue has been marked
needs-author-actionand may be missing some important information.Add FTPS directory listing regression test (#135077)
WolfgangHG commentedon Oct 3, 2026
I can confirm that it works in .NET11 RC1: both the broken result string and the random
ObjectDisposedExceptionare fixed.Closing this issue. A backport to .NET10 would be nice, but we already worked around it by adding FluentFtp support.