c#ftp服务器访问 [英] c# ftp server access

查看:110
本文介绍了c#ftp服务器访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友,

如何从ftp服务器读取xml文件并存储到mysql数据库并移动到另一个文件夹..





提前感谢你的帮助。

mani vignesh

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

推荐答案

对于ac#ftp客户端: http://netftp.codeplex.com/ [ ^ ]



在mySql中存储blob数据: www.daniweb.com/software-development/csharp/threads/201535/storing-image-to- mysql-in-c [ ^ ]
For a c# ftp client : http://netftp.codeplex.com/[^]

To store blob data in mySql : www.daniweb.com/software-development/csharp/threads/201535/storing-image-to-mysql-in-c[^]


您好b $ b这些是要遵循的步骤:



1)您必须使用FTP凭据p使用FTP连接由您的FTP网络管理员提供连接到根ftp文件夹,

2)然后您可以导航到FTP根目录中的所需目录并下载您需要的文件。

3)从ftp位置读取文件后,您将xml serialiser类存储到数据库。

4)根据需要重复2次和3次。

5)断开ftp。



如果你想要实际代码然后我必须为你写一个。



Jegan
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


阅读本文。



简单的C#FTP类 [ ^ ]



Jegan
Have a read at this article.

Simple C# FTP Class[^]

Jegan


这篇关于c#ftp服务器访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆