Click here to Skip to main content
       

C#

 
AnswerRe: MD5 hash encrypt and decryption PinmemberBernhard Hiller20-Feb-13 21:12 
AnswerRe: MD5 hash encrypt and decryption PinmvpDave Kreskowiak21-Feb-13 2:34 
QuestionPost a file to remote server using HTTPWEBREQUEST Pinmembervanikanc20-Feb-13 9:07 
AnswerRe: Post a file to remote server using HTTPWEBREQUEST PinmvpEddy Vluggen20-Feb-13 9:51 
GeneralRe: Post a file to remote server using HTTPWEBREQUEST Pinmembervanikanc20-Feb-13 10:04 
AnswerRe: Post a file to remote server using HTTPWEBREQUEST PinmvpEddy Vluggen20-Feb-13 10:13 
GeneralRe: Post a file to remote server using HTTPWEBREQUEST Pinmembervanikanc21-Feb-13 2:53 
AnswerRe: Post a file to remote server using HTTPWEBREQUEST PinprotectorPete 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 Pinmembervanikanc21-Feb-13 2:49 
Questionsource code for navigation PinmemberNani Maneesh20-Feb-13 7:07 
AnswerRe: source code for navigation PinmvpDave Kreskowiak20-Feb-13 7:38 
GeneralRe: source code for navigation PinmemberJibesh20-Feb-13 8:32 
GeneralRe: source code for navigation PinmvpDave Kreskowiak20-Feb-13 11:24 
QuestionHow to Show GIF Image Transparent C# Pinmemberishrar19-Feb-13 21:53 
AnswerRe: How to Show GIF Image Transparent C# PinmemberAlan Balkany20-Feb-13 8:28 
QuestionInstall software and menus depending upon radion button selection option used in MSI Pinmembersjs4u19-Feb-13 19:33 
AnswerRe: Install software and menus depending upon radion button selection option used in MSI PinmvpEddy Vluggen20-Feb-13 0:31 
GeneralRe: Install software and menus depending upon radion button selection option used in MSI Pinmembersjs4u20-Feb-13 18:12 
GeneralRe: Install software and menus depending upon radion button selection option used in MSI PinmvpEddy Vluggen21-Feb-13 7:06 
Questionproject Pinmemberpramodrastogi9119-Feb-13 18:14 
AnswerRe: project PinmemberJibesh19-Feb-13 19:52 
AnswerRe: project PinmvpAbhinav S19-Feb-13 22:25 
AnswerRe: project PinmvpMarcus Kramer20-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. Pinmemberkandel1519-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. PinmemberBobJanova20-Feb-13 0:04 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 30 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid