Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Calling a Web Service From Desktop App

Calling a Web Service From Desktop App

Scheduled Pinned Locked Moved C#
questioncsharpsysadmin
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marcos Accioly
    wrote on last edited by
    #1

    The question is quite simple (but I could not find the best answer myself): What is the best C# way to transfer a file from a Desktop application (Windows Application) to a Server for persistance? Persisting information about a windows form is ok, but how about persisting it somewhere else on the web? Regards, Vini

    N 1 Reply Last reply
    0
    • M Marcos Accioly

      The question is quite simple (but I could not find the best answer myself): What is the best C# way to transfer a file from a Desktop application (Windows Application) to a Server for persistance? Persisting information about a windows form is ok, but how about persisting it somewhere else on the web? Regards, Vini

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Marcos Accioly wrote:

      What is the best C# way to transfer a file from a Desktop application (Windows Application) to a Server for persistance?

      File.Copy ??? Or do you mean positng the file via a WebService? The title of this post doesn't seem to fit the contents.


      only two letters away from being an asset

      M 1 Reply Last reply
      0
      • N Not Active

        Marcos Accioly wrote:

        What is the best C# way to transfer a file from a Desktop application (Windows Application) to a Server for persistance?

        File.Copy ??? Or do you mean positng the file via a WebService? The title of this post doesn't seem to fit the contents.


        only two letters away from being an asset

        M Offline
        M Offline
        Marcos Accioly
        wrote on last edited by
        #3

        Sorry Mark for being confusing. All I wanna do is to copy, from my windows app, a bunch of configuration in an xml file to a remote server. Doesn't need necessarily be via web services. Does File.Copy accept and ftp address or something similar? Cheers! Vini

        N 1 Reply Last reply
        0
        • M Marcos Accioly

          Sorry Mark for being confusing. All I wanna do is to copy, from my windows app, a bunch of configuration in an xml file to a remote server. Doesn't need necessarily be via web services. Does File.Copy accept and ftp address or something similar? Cheers! Vini

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          It will accept UNC paths. 2.0 has the WebRequestMethods.Ftp class


          only two letters away from being an asset

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups