473,499 Members | 1,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.
Jul 21 '05 #1
2 1253
In article <eb**************************@posting.google.com >, bacile99
@yahoo.com says...
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/20.../FtpClient.asp

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

Cheers
Sunny
Jul 21 '05 #2
I have used the Rebex .NET FTP library and have been generally happy with it.

"Todd" wrote:
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.

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2291
by: fig000 | last post by:
Hi, I'm relatively new to Javascript so please bear with me on what might sound like silly questions. This is what I want to do: I'm working in classic asp (I have to for this project). I...
43
2565
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
7
2646
by: Dan V. | last post by:
Situation: I have to connect with my Windows 2000 server using VS.NET 2003 and C# and connect to a remote Linux server at another company's office and query their XML file. Their file may be...
12
3445
by: Charlie | last post by:
Hi: My host will not allow me use a trusted connection or make registry setting, so I'm stuck trying find a way to hide connection string which will be stored in web.config file. If I encrypt...
3
5065
by: Michael Hoehne | last post by:
Hi, I'm currently facing a problem with a mixed environment using .NET 1.1 and ..NET 2.0 web services. We have a client application (the "client", system 1) running on .NET 2.0/WinXP, calling...
12
2178
by: Joe | last post by:
Hello All: Do I have to use the LoadControl method of the Page to load a UserControl? I have a class which contains three methods (one public and two private). The class acts as a control...
5
3710
by: Dennis Fazekas | last post by:
Greetings, I am creating a web form which will all the user to add an unlimited number of email addresses. Basically I have 3 buttons, "Add Another Email", "-" to remove, and a "Save" button....
1
1885
by: Ted | last post by:
I managed to get it installed OK, along side MS Visual Studio 2005 (with which I received it). During the install, I made sure I installed everything. I have developed a number of applications...
21
34316
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
0
7128
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7385
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4917
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3088
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
661
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
294
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.