Click to See Complete Forum and Search --> : Saving a PDF File from client to server in c#


meenus
October 16th, 2009, 01:17 AM
Hi,
I am displaying pdf file on client machine from server using byte array object in visual studio 2005 and after that i want to save a copy of the displayed pdf file on server , pls give any idea or sample code to save the copy on server using c# application

BigEd781
October 16th, 2009, 02:20 AM
Hi,
I am displaying pdf file on client machine from server using byte array object in visual studio 2005 and after that i want to save a copy of the displayed pdf file on server...

if the server is serving the file, why the file is already on the server, no?

meenus
October 16th, 2009, 06:09 AM
the pdf contents are edited on client and then i wan to save the edited file on the server

boudino
October 16th, 2009, 06:30 AM
What king of server is it? HTTP, TCP, WCF, remoting...? If it is WCF, you can send the document via streamed channel.

meenus
October 16th, 2009, 06:41 AM
Http

boudino
October 19th, 2009, 02:46 AM
So you can use POST or PUP methods of HTTP protocol.