Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Friends,
how to read xml file from ftp server and store to mysql database and move to another folder..


Thank's in advance for your help.
mani vignesh
Posted
Comments
Richard C Bishop 11-Feb-13 10:17am    
The best answer you will get for a post like this is just some links to where this info already exists. So would it not be faster to search it yourself? Just search each action you want to perform separately and then combine them.

 
Share this answer
 
Hi these are the steps to follow:

1) You must use the FTP connection using the FTP credentials provided by your FTP network administrator to connect to the root ftp folder,
2) Then you can navigate to the required directory in the FTP root directory and download the file you required.
3) Once you have read the file from your ftp location, you the xml serialiser class to store to database.
4) Repeate 2 and 3 as manytimes as required.
5) Disconnect the ftp.

If you want actual code then I have to write one for you.

Jegan
 
Share this answer
 
Comments
Manivignesh 12-Feb-13 2:17am    
Hi Jegan thanks 4 ur rply..
i got the directory inside the root directory find the all xml files and read the file to store mysql database then move to another folder. pls send some sample code for this..
Have a read at this article.

Simple C# FTP Class[^]

Jegan
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900