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
I'm trying to set it up to serve some files from my drive, it does list the files correctly
But the links lead to nowhere, it just brings up an empty page and it doesn't even throw any exceptions.
Whenever i click on the link it redirects me to: http://localhost:8080/HugeFile.zip/HugeFile.zip
However the file is located under drive E:\HugeFile.zip
and this is what i get in the headers of the response:
I tested the sample code provided in project files and got the same results, anyway here's the snippet i currently use (From: blog.gauffin.org):
var moduleManager = new ModuleManager();
var fileService = new DiskFileService("/", "E:");
var module = new FileModule(fileService) { AllowFileListing = true };
moduleManager.Add(module);
var server = new HttpServer(moduleManager);
server.Start(IPAddress.Any, 8080);
Console.ReadLine();
The text was updated successfully, but these errors were encountered:
I'm trying to set it up to serve some files from my drive, it does list the files correctly
But the links lead to nowhere, it just brings up an empty page and it doesn't even throw any exceptions.
Whenever i click on the link it redirects me to:
http://localhost:8080/HugeFile.zip/HugeFile.zip
However the file is located under drive E:\HugeFile.zip
and this is what i get in the headers of the response:
I tested the sample code provided in project files and got the same results, anyway here's the snippet i currently use (From: blog.gauffin.org):
The text was updated successfully, but these errors were encountered: