最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
一个FTP客户端的C#代码
时间:2022-07-02 11:06:24 编辑:袖梨 来源:一聚教程网
using System;
using System.Net;
using System.IO;
using System.Text;
using System.Net.Sockets;
namespace zhangyuk.net.csdn.blog.ftpclient
{
///
/// FTP Client
///
public class FTPClient
{
#region 构造函数
///
/// 缺省构造函数
///
public FTPClient()
{
strRemoteHost = "";
strRemotePath = "";
strRemoteUser = "";
strRemotePass = "";
strRemotePort = 21;
bConnected = false;
}
///
/// 构造函数
///
///
///
///
///
///
public FTPClient( string remoteHost, string remotePath, string remoteUser, string remotePass, int remotePort )
{
strRemoteHost = remoteHost;
strRemotePath = remotePath;
strRemoteUser = remoteUser;
strRemotePass = remotePass;
using System.Net;
using System.IO;
using System.Text;
using System.Net.Sockets;
namespace zhangyuk.net.csdn.blog.ftpclient
{
///
/// FTP Client
///
public class FTPClient
{
#region 构造函数
///
/// 缺省构造函数
///
public FTPClient()
{
strRemoteHost = "";
strRemotePath = "";
strRemoteUser = "";
strRemotePass = "";
strRemotePort = 21;
bConnected = false;
}
///
/// 构造函数
///
///
///
///
///
///
public FTPClient( string remoteHost, string remotePath, string remoteUser, string remotePass, int remotePort )
{
strRemoteHost = remoteHost;
strRemotePath = remotePath;
strRemoteUser = remoteUser;
strRemotePass = remotePass;
相关文章
- 柴犬币负责人表示七月将有大动作,预告多项公告即将发布 07-03
- 死亡搁浅2次要订单116支线任务完成方法 07-03
- 崩坏星穹铁道虫鸣秘闻铃中古调怎么做 07-03
- 如鸢第十一章秋坟鬼唱攻略 主线通关配队攻略 07-03
- 如鸢主流配队思路攻略 如鸢密探怎么配队攻略 07-03
- 资讯:币圈大揭秘:全面解读比特币及加密货币是什么? 07-03