Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 11-Feb-13 4:13am
Comments
richcb at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Comments
Manivignesh at 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..
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Have a read at this article.
 
Simple C# FTP Class[^]
 
Jegan
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Guruprasad.K.Basavaraju 450
1 Sergey Alexandrovich Kryukov 325
2 Shai Vashdi 318
3 OriginalGriff 265
4 Peter Leow 171
0 Sergey Alexandrovich Kryukov 9,109
1 OriginalGriff 5,290
2 Peter Leow 4,010
3 Maciej Los 3,535
4 Abhinav S 3,263


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 12 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid