![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | how to create and upload files Can someone tell me step by step how to create files and upload them? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: how to create and upload files eppiem wrote: Quote: > Can someone tell me step by step how to create files and upload them? string text = "This is a test"; File.WriteAllText(@"c:\test\test.txt", text); WebClient wc = new WebClient(); // the following may be necessary wc.Credentials = new NetworkCredential("someusername", "somepassword"); wc.UploadFile("ftp://ftp.somesite.com/test.txt", @"c:\test\test.txt"); -- Mike |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How to create DVD out of VOB files | Sound & Audio | |||
| FTP: Upload large files? | .NET General | |||
| IE window closes before being able to upload/attach files | Vista General | |||
| Files Upload access problem with VISTA | Vista security | |||
| about transfer and upload files | Vista General | |||