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.
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.