Click here to Skip to main content
15,890,690 members
Home / Discussions / C#
   

C#

 
GeneralRe: Post a file to remote server using HTTPWEBREQUEST Pin
vanikanc20-Feb-13 10:04
vanikanc20-Feb-13 10:04 
AnswerRe: Post a file to remote server using HTTPWEBREQUEST Pin
Eddy Vluggen20-Feb-13 10:13
professionalEddy Vluggen20-Feb-13 10:13 
GeneralRe: Post a file to remote server using HTTPWEBREQUEST Pin
vanikanc21-Feb-13 2:53
vanikanc21-Feb-13 2:53 
AnswerRe: Post a file to remote server using HTTPWEBREQUEST Pin
Pete O'Hanlon20-Feb-13 10:18
mvePete O'Hanlon20-Feb-13 10:18 
I'm not surprised it's not working. As a small point, could you please post code that stands a chance of compiling. There isn't a HttpWebRequest.Create - it's WebRequest.Create.

Your problem here is that you are just reading the data into a stream, which you then dispose of. What do you think the stream at the server end is going to do? You actually need something there to take that stream and write it out to a file. That's the part you're missing here.
I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: Post a file to remote server using HTTPWEBREQUEST Pin
vanikanc21-Feb-13 2:49
vanikanc21-Feb-13 2:49 
Questionsource code for navigation Pin
Nani Maneesh20-Feb-13 7:07
Nani Maneesh20-Feb-13 7:07 
AnswerRe: source code for navigation Pin
Dave Kreskowiak20-Feb-13 7:38
mveDave Kreskowiak20-Feb-13 7:38 
GeneralRe: source code for navigation Pin
Jibesh20-Feb-13 8:32
professionalJibesh20-Feb-13 8:32 
GeneralRe: source code for navigation Pin
Dave Kreskowiak20-Feb-13 11:24
mveDave Kreskowiak20-Feb-13 11:24 
QuestionHow to Show GIF Image Transparent C# Pin
ishrar19-Feb-13 21:53
ishrar19-Feb-13 21:53 
AnswerRe: How to Show GIF Image Transparent C# Pin
Alan Balkany20-Feb-13 8:28
Alan Balkany20-Feb-13 8:28 
QuestionInstall software and menus depending upon radion button selection option used in MSI Pin
sjs4u19-Feb-13 19:33
sjs4u19-Feb-13 19:33 
AnswerRe: Install software and menus depending upon radion button selection option used in MSI Pin
Eddy Vluggen20-Feb-13 0:31
professionalEddy Vluggen20-Feb-13 0:31 
GeneralRe: Install software and menus depending upon radion button selection option used in MSI Pin
sjs4u20-Feb-13 18:12
sjs4u20-Feb-13 18:12 
GeneralRe: Install software and menus depending upon radion button selection option used in MSI Pin
Eddy Vluggen21-Feb-13 7:06
professionalEddy Vluggen21-Feb-13 7:06 
Questionproject Pin
pramodrastogi9119-Feb-13 18:14
pramodrastogi9119-Feb-13 18:14 
AnswerRe: project Pin
Jibesh19-Feb-13 19:52
professionalJibesh19-Feb-13 19:52 
AnswerRe: project Pin
Abhinav S19-Feb-13 22:25
Abhinav S19-Feb-13 22:25 
AnswerRe: project Pin
fjdiewornncalwe20-Feb-13 3:17
professionalfjdiewornncalwe20-Feb-13 3:17 
QuestionBinary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization. Pin
kandel1519-Feb-13 14:25
kandel1519-Feb-13 14:25 
AnswerRe: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization. Pin
BobJanova20-Feb-13 0:04
BobJanova20-Feb-13 0:04 
AnswerRe: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization. Pin
Pete O'Hanlon20-Feb-13 0:11
mvePete O'Hanlon20-Feb-13 0:11 
QuestionWindows Mobile Pin
aymen Tn19-Feb-13 5:04
aymen Tn19-Feb-13 5:04 
AnswerRe: Windows Mobile Pin
Abhinav S19-Feb-13 5:49
Abhinav S19-Feb-13 5:49 
GeneralRe: Windows Mobile Pin
aymen Tn19-Feb-13 22:44
aymen Tn19-Feb-13 22:44 

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.