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. teking binary files as a input for client windowes application from a website

teking binary files as a input for client windowes application from a website

Scheduled Pinned Locked Moved C#
question
3 Posts 3 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.
  • U Offline
    U Offline
    umr1
    wrote on last edited by
    #1

    hi i am creating a windows application that will take a binary file as input and this binary file is on the my website so when i download it from the website it should directly go into the window's application for processing how do i do

    B G 2 Replies Last reply
    0
    • U umr1

      hi i am creating a windows application that will take a binary file as input and this binary file is on the my website so when i download it from the website it should directly go into the window's application for processing how do i do

      B Offline
      B Offline
      Bharat Jain
      wrote on last edited by
      #2

      Hi, There are two solutions that comes to my mind at this point.(i am assuming the website you have mentioned is under your control) 1) you store the file on an FTP server , and then use the FTP class provided in .net to check if there is file available (Also we can use a date time stamp to check if we really want the file), then download the file and run the file using "Shell". 2) using a web service , you write a web service which will provide the file to you , then from windows application call the web service , get the file and run using "Shell". Please let me know if this what you want(Let hope :) ) , i am just trying to give you direction to think , if you need more help let me know .

      -Regards Bharat Jain bharat.jain.nagpur@gmail.com

      1 Reply Last reply
      0
      • U umr1

        hi i am creating a windows application that will take a binary file as input and this binary file is on the my website so when i download it from the website it should directly go into the window's application for processing how do i do

        G Offline
        G Offline
        Giorgi Dalakishvili
        wrote on last edited by
        #3

        You can use filesystemwatcher to detect when a file is written to a specified directory.

        Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

        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