在Xshell中上传下载文件到本地(linux中从多次ssh登录的dbserver里面的文件夹) 1 列出所有需要copy的sh文件 -bash-4.1$ ll /mysqllog/osw/*.sh -rwxr-xr-x 1 mysql mysql 409 May 16 10:00 /mysqllog/osw/topaix.sh -rwxr-xr-x 1 mysql mysql 127 May 16 10:00 /mysqllog/osw/tarupfiles.sh -rwxr-xr-x…
using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; namespace Common { /// <summary> /// winform形式的文件传输类 /// </summary> public class WinFileTransporter { /// <summary> /// WebClient上传文件至服…