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. Communication between windows and web application.

Communication between windows and web application.

Scheduled Pinned Locked Moved C#
sysadminxmlhelpquestion
2 Posts 2 Posters 1 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.
  • N Offline
    N Offline
    Navees Ahmed
    wrote on last edited by
    #1

    Hi, I am working on windows application which store data in xml and put media elements(like images) in folder. I am making zip file of xml and media element folder. Now I need to send this zip file on web server where my web application will unzip this file and will put xml data to sqlserver and place media elements to specific directory. My question is, How I can send zip file to web application, I have considered FTP but it is not safe because it needs username and password, is there any other solution, if yes then please help me. Thanks navees

    G 1 Reply Last reply
    0
    • N Navees Ahmed

      Hi, I am working on windows application which store data in xml and put media elements(like images) in folder. I am making zip file of xml and media element folder. Now I need to send this zip file on web server where my web application will unzip this file and will put xml data to sqlserver and place media elements to specific directory. My question is, How I can send zip file to web application, I have considered FTP but it is not safe because it needs username and password, is there any other solution, if yes then please help me. Thanks navees

      G Offline
      G Offline
      Gavin Jeffrey
      wrote on last edited by
      #2

      Create a webservice method that accepts a byte[] as a parameter then just call the method with the zip as a byte[]. Then just rebuild the zip on the webservice side.

      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