Click here to Skip to main content
15,881,860 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unity Application Block Error [Modified] Pin
Keith Barrow5-Mar-13 5:59
professionalKeith Barrow5-Mar-13 5:59 
GeneralRe: Unity Application Block Error [Modified] Pin
Bill Warner5-Mar-13 6:18
Bill Warner5-Mar-13 6:18 
GeneralRe: Unity Application Block Error [Modified] Pin
Keith Barrow5-Mar-13 6:19
professionalKeith Barrow5-Mar-13 6:19 
QuestionC# Basics Pin
nabeel6345-Mar-13 0:44
nabeel6345-Mar-13 0:44 
AnswerRe: C# Basics Pin
Ingo5-Mar-13 1:00
Ingo5-Mar-13 1:00 
AnswerRe: C# Basics Pin
Sachin k Rajput 5-Mar-13 1:25
Sachin k Rajput 5-Mar-13 1:25 
GeneralRe: C# Basics Pin
nabeel6345-Mar-13 18:29
nabeel6345-Mar-13 18:29 
QuestionUpload file using webclient Pin
vanikanc4-Mar-13 7:47
vanikanc4-Mar-13 7:47 
Hi,

I am trying to upload a file from my laptop to remote development server. It keeps coming back with either 404 error or 405 error. I am able to download a file with no issues at at all.

all I have is a form with a button on it, and clicking on button invokes the below.

I get the message, "Upload Complete" but the file does not exist on the remote server.

private void button3_Click(object sender, EventArgs e)
      {
          WebClient wcUpload = new WebClient();
          NetworkCredential myNwc = new NetworkCredential("username", "password");
          wcUpload.Credentials = myNwc;

          wcUpload.UploadFile("http://<dev server>:85", "POST", "C:\\projects\\ProgressBar\\file_0122.csv");
          MessageBox.Show("Upload complete!!");
      }// end button3_Click

QuestionRe: Upload file using webclient Pin
Eddy Vluggen4-Mar-13 8:44
professionalEddy Vluggen4-Mar-13 8:44 
AnswerRe: Upload file using webclient Pin
vanikanc4-Mar-13 9:50
vanikanc4-Mar-13 9:50 
GeneralRe: Upload file using webclient Pin
Eddy Vluggen4-Mar-13 10:46
professionalEddy Vluggen4-Mar-13 10:46 
AnswerRe: Upload file using webclient Pin
Keith Barrow4-Mar-13 23:49
professionalKeith Barrow4-Mar-13 23:49 
QuestionHow to capture url of the selected browser? Pin
micman4-Mar-13 6:37
micman4-Mar-13 6:37 
AnswerRe: How to capture url of the selected browser? Pin
Dave Kreskowiak4-Mar-13 8:20
mveDave Kreskowiak4-Mar-13 8:20 
QuestionTab strip control Pin
Jagatpreet4-Mar-13 6:00
Jagatpreet4-Mar-13 6:00 
AnswerRe: Tab strip control Pin
Abhinav S4-Mar-13 6:12
Abhinav S4-Mar-13 6:12 
AnswerRe: Tab strip control Pin
Eddy Vluggen4-Mar-13 8:46
professionalEddy Vluggen4-Mar-13 8:46 
QuestionC++ or C#.. !!!!! Pin
Usman Hunjra4-Mar-13 5:22
Usman Hunjra4-Mar-13 5:22 
AnswerRe: C++ or C#.. !!!!! Pin
NotPolitcallyCorrect4-Mar-13 5:41
NotPolitcallyCorrect4-Mar-13 5:41 
AnswerRe: C++ or C#.. !!!!! Pin
Abhinav S4-Mar-13 6:11
Abhinav S4-Mar-13 6:11 
AnswerRe: C++ or C#.. !!!!! Pin
jschell4-Mar-13 9:38
jschell4-Mar-13 9:38 
AnswerRe: C++ or C#.. !!!!! Pin
PIEBALDconsult4-Mar-13 13:31
mvePIEBALDconsult4-Mar-13 13:31 
AnswerRe: C++ or C#.. !!!!! Pin
Alan Balkany5-Mar-13 4:17
Alan Balkany5-Mar-13 4:17 
Questionsnmp c shap Pin
Member 98700584-Mar-13 1:29
Member 98700584-Mar-13 1:29 
AnswerRe: snmp c shap Pin
Dave Kreskowiak4-Mar-13 1:33
mveDave Kreskowiak4-Mar-13 1:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.