CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2008
    Posts
    30

    Saving a PDF File from client to server in c#

    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

  2. #2
    Join Date
    Jun 2008
    Posts
    2,477

    Re: Saving a PDF File from client to server in c#

    Quote Originally Posted by meenus View Post
    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?

  3. #3
    Join Date
    Jul 2008
    Posts
    30

    Re: Saving a PDF File from client to server in c#

    the pdf contents are edited on client and then i wan to save the edited file on the server

  4. #4
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Saving a PDF File from client to server in c#

    What king of server is it? HTTP, TCP, WCF, remoting...? If it is WCF, you can send the document via streamed channel.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  5. #5
    Join Date
    Jul 2008
    Posts
    30

    Re: Saving a PDF File from client to server in c#

    Http

  6. #6
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Saving a PDF File from client to server in c#

    So you can use POST or PUP methods of HTTP protocol.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured