Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (WebClient client = new WebClient())
- {
- client.Credentials = new NetworkCredential("username", "password");
- client.UploadFile("ftp://files.000webhost.com/public_html/target.png", "STOR", @"E:\a.png");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement