资源简介

包含了ftp上传及下载的各种操作

资源截图

代码片段和文件信息

using ftpClient.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ftpClient
{
    public partial class main : Form
    {
        public main()
        {
            InitializeComponent();
            btnConnect.Click += BtnConnect_Click;
            btnUpload.Click += BtnUpload_Click;
            btnDownload.Click += BtnDownload_Click;
            lblBack.Click += LblBack_Click;
            gvFiles.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            gvFiles.MultiSelect = false;
            gvFiles.Selectionchanged += GvFiles_Selectionchanged;
            gvFiles.CellFormatting +

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-13 14:17  ftpClient-master\
     文件        2518  2018-05-13 14:17  ftpClient-master\.gitattributes
     文件        4305  2018-05-13 14:17  ftpClient-master\.gitignore
     文件          93  2018-05-13 14:17  ftpClient-master\README.md
     目录           0  2018-05-13 14:17  ftpClient-master\ftpClient.Core\
     文件         634  2018-05-13 14:17  ftpClient-master\ftpClient.Core\FtpFileobject.cs
     目录           0  2018-05-13 14:17  ftpClient-master\ftpClient.Core\Properties\
     文件        1281  2018-05-13 14:17  ftpClient-master\ftpClient.Core\Properties\AssemblyInfo.cs
     文件        2891  2018-05-13 14:17  ftpClient-master\ftpClient.Core\ftp.cs
     文件        2496  2018-05-13 14:17  ftpClient-master\ftpClient.Core\ftpClient.Core.csproj
     文件         134  2018-05-13 14:17  ftpClient-master\ftpClient.Core\packages.config
     文件        1597  2018-05-13 14:17  ftpClient-master\ftpClient.sln
     目录           0  2018-05-13 14:17  ftpClient-master\ftpClient\
     文件         182  2018-05-13 14:17  ftpClient-master\ftpClient\App.config
     文件       17851  2018-05-13 14:17  ftpClient-master\ftpClient\Main.Designer.cs
     文件        5513  2018-05-13 14:17  ftpClient-master\ftpClient\Main.cs
     文件      486923  2018-05-13 14:17  ftpClient-master\ftpClient\Main.resx
     文件         498  2018-05-13 14:17  ftpClient-master\ftpClient\Program.cs
     目录           0  2018-05-13 14:17  ftpClient-master\ftpClient\Properties\
     文件        1280  2018-05-13 14:17  ftpClient-master\ftpClient\Properties\AssemblyInfo.cs
     目录           0  2018-05-13 14:17  ftpClient-master\ftpClient\Properties\DataSources\
     文件         596  2018-05-13 14:17  ftpClient-master\ftpClient\Properties\DataSources\ftpClient.Core.FtpFileobject.datasource
     文件        3874  2018-05-13 14:17  ftpClient-master\ftpClient\Properties\Resources.Designer.cs
     文件        6546  2018-05-13 14:17  ftpClient-master\ftpClient\Properties\Resources.resx
     文件        1086  2018-05-13 14:17  ftpClient-master\ftpClient\Properties\Settings.Designer.cs
     文件         242  2018-05-13 14:17  ftpClient-master\ftpClient\Properties\Settings.settings
     文件        4443  2018-05-13 14:17  ftpClient-master\ftpClient\ftpClient.UI.csproj
     文件      323590  2018-05-13 14:17  ftpClient-master\ftpClient\ftpClient.ico
     目录           0  2018-05-13 14:17  ftpClient-master\ftpClient\resources\
     文件         357  2018-05-13 14:17  ftpClient-master\ftpClient\resources\back.png
     文件         281  2018-05-13 14:17  ftpClient-master\ftpClient\resources\file.png
............此处省略1个文件信息

评论

共有 条评论