How to setup and access an ftp server in Windows Server 2019 with vb.net code?

Bryan 0 Reputation points
2025-03-02T20:48:21.2033333+00:00

I have written an app using webforms in visual studio 2019. I have setup a Windows Server 2019 on a server. With IIS, I am able to access my WebForms.aspx from the internet ok. I made an FTP server website, and also added ftp services to my first website that can access the webforms and run them from other computers. I wanted to allow users to download .exe files from my app. I have tried many code examples, and many configuration examples such as router port forwarding to 21, WebClient, and many other approaches, but noting, works. I can access the server remotely from my laptop, but all of the coding behind buttons, I have tried, it does not access the FTP site for downloading.

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
390 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.