Using .Net code to FTP from one server to another

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Todd

    #1

    Using .Net code to FTP from one server to another

    I created some code that produces a dataset from a DB read, and then
    transforms the dataset into an XML file. I want to write a block of
    code in this same program, that (after the xml file has been created)
    will use FTP to transfer (or "copy") the XML file from the server it
    is running on to another remote server. I have the FTP site running
    on the remote server and security is all set. I need some help on the
    syntax for the code I need to write to copy the file from one server
    to the next. Any help is much appreciated. Thank you.
  • Sunny

    #2
    Re: Using .Net code to FTP from one server to another

    In article <eb84a9d1.04112 31210.4864cf67@ posting.google. com>, bacile99
    @yahoo.com says...[color=blue]
    > I created some code that produces a dataset from a DB read, and then
    > transforms the dataset into an XML file. I want to write a block of
    > code in this same program, that (after the xml file has been created)
    > will use FTP to transfer (or "copy") the XML file from the server it
    > is running on to another remote server. I have the FTP site running
    > on the remote server and security is all set. I need some help on the
    > syntax for the code I need to write to copy the file from one server
    > to the next. Any help is much appreciated. Thank you.
    >[/color]

    Hi,

    take a look here:


    and here:
    http://www.c-sharpcorner.com/Code/20.../FtpClient.asp

    I have never used any, but there are a lot of such a libraries if you
    google for it.

    Cheers
    Sunny

    Comment

    • Dathon

      #3
      RE: Using .Net code to FTP from one server to another

      I have used the Rebex .NET FTP library and have been generally happy with it.

      "Todd" wrote:
      [color=blue]
      > I created some code that produces a dataset from a DB read, and then
      > transforms the dataset into an XML file. I want to write a block of
      > code in this same program, that (after the xml file has been created)
      > will use FTP to transfer (or "copy") the XML file from the server it
      > is running on to another remote server. I have the FTP site running
      > on the remote server and security is all set. I need some help on the
      > syntax for the code I need to write to copy the file from one server
      > to the next. Any help is much appreciated. Thank you.
      >[/color]

      Comment

      Working...