Closed SebastianKuesters closed 4 years ago
I'm unable to reproduce the problem. Can you please enable server-side logging? You can do this by:
Microsoft.Extensions.Logging.Console
to your project (skip if already added)This is the new QuickStart.AspNetCoreHost.csproj
file:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
<IsPackable>false</IsPackable>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\FubarDev.FtpServer.FileSystem.DotNet\FubarDev.FtpServer.FileSystem.DotNet.csproj" />
<ProjectReference Include="..\..\src\FubarDev.FtpServer\FubarDev.FtpServer.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.0.0" />
</ItemGroup>
</Project>
Change the CreateWebHostBuilder
function to:
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.ConfigureLogging(lb => {
lb.AddConsole();
})
.ConfigureServices(
services =>
{
services
.AddFtpServer(
builder => builder
.UseDotNetFileSystem()
.EnableAnonymousAuthentication())
.AddHostedService<HostedFtpService>();
})
.UseStartup<Startup>();
sudo ASPNETCORE_ENVIRONMENT=Development ./QuickStart.AspNetCore > out.log 2>&1
Remove any sensitive information (if there is any at all), like server IP, user name, etc...
Hi,
I have found an issue when I am try to modify the default sample script:
What I have done? I have created an dotnet core web app using the following Program.cs code, which I have take from the quick start:
What is the problem? When I connect 1 client with 8 uploads at once to my FTP server which runs in an Ubuntu server on Azure and every client starts to upload a file bigger than 300MB then for most uploads will stuck at 100% in FileZilla and run into a timeout:
I would be very happy if you could help me with this issue!
Best, Sebastian