Using .Net code to FTP from one server to another

  • Thread starter Thread starter Todd
  • Start date Start date
T

Todd

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.
 
bacile99 said:
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.

Hi,

take a look here:
http://www.csharphelp.com/archives/archive9.html

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

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

Cheers
Sunny
 
Back
Top