Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Windows Application
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 5: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
0 OriginalGriff 605
1 Maciej Los 319
2 BillWoodruff 184
3 Richard MacCutchan 180
4 Suraj Sahoo | Coding Passion 180
0 OriginalGriff 8,654
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,229
4 Manas Bhardwaj 4,986


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100