• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need help connecting to an FTP site in Visual Basic.NET

Chaotic42

Lifer
I'm writing a little program that needs to connect to and FTP site, log in, and perform various commands. I'm having trouble finding anything actually useful online.

I just need the program to:

-Open an FTP connection
-Request a username
-Request a password
-Perform various directory creation and uploads
-Close FTP connection

Looking at it, it looks like I should use System.Net.FtpWebRequest.Create, but this just seems to do nothing. I guess it's connecting, but I can't find any way to start logging in.

Here's the relevant code that I have now. It's two lines, but I can't seem to get any farther than that. I appreciate any help that you all can give. Any code you can point me to or whatever would be great.
 
Back
Top