Window service question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dfetrow410@hotmail.com

    #1

    Window service question

    I need to make a c# program that will do uploads and downloads at 9am
    and 3PM. The server is here, so I have access to it. Do I make a
    console app and schedule it as a task. Or is there a better way. Is
    there some code out there already to do this. I need to be able to keep
    track of the files I download and upload.


    Dave


  • Simon Hart

    #2
    Re: Window service question

    Do you need a user interface? Since you use the word "Server", I presume
    your target machine is a Windows Server? I always use Windows Services if
    the above first condition is false and the second true purely because
    Windows Services are the right tool for this kind of job. But without the
    other details it is difficult to give you advice.

    <dfetrow410@hot mail.com> wrote in message
    news:1137155835 .759383.85020@g 47g2000cwa.goog legroups.com...[color=blue]
    >I need to make a c# program that will do uploads and downloads at 9am
    > and 3PM. The server is here, so I have access to it. Do I make a
    > console app and schedule it as a task. Or is there a better way. Is
    > there some code out there already to do this. I need to be able to keep
    > track of the files I download and upload.
    >
    >
    > Dave
    > www.helixpoint.com
    >[/color]


    Comment

    • Willy Denoyette [MVP]

      #3
      Re: Window service question


      <dfetrow410@hot mail.com> wrote in message
      news:1137155835 .759383.85020@g 47g2000cwa.goog legroups.com...
      |I need to make a c# program that will do uploads and downloads at 9am
      | and 3PM. The server is here, so I have access to it. Do I make a
      | console app and schedule it as a task. Or is there a better way. Is
      | there some code out there already to do this. I need to be able to keep
      | track of the files I download and upload.
      |
      |
      | Dave
      | www.helixpoint.com
      |

      You don't need a service for thi, just use the scheduler to run a console
      application once at 9am and another time at 3pm.

      Willy.


      Comment

      • Ignacio Machin \( .NET/ C# MVP \)

        #4
        Re: Window service question

        Hi,

        Certainly a console app being run by a sched job is a flexible solution. the
        other could be a windows service.

        Keeping a look is fairly simple, just write it to a file or dump it in the
        event log


        --
        Ignacio Machin,
        ignacio.machin AT dot.state.fl.us
        Florida Department Of Transportation

        <dfetrow410@hot mail.com> wrote in message
        news:1137155835 .759383.85020@g 47g2000cwa.goog legroups.com...[color=blue]
        >I need to make a c# program that will do uploads and downloads at 9am
        > and 3PM. The server is here, so I have access to it. Do I make a
        > console app and schedule it as a task. Or is there a better way. Is
        > there some code out there already to do this. I need to be able to keep
        > track of the files I download and upload.
        >
        >
        > Dave
        > www.helixpoint.com
        >[/color]


        Comment

        Working...