04 2016 档案

asp.net中兼容多个版本dll的方式
摘要: 阅读全文
posted @ 2016-04-09 21:52 liujiwei0632 阅读(453) 评论(0) 推荐(0)
Sftp上传下载文件,部分代码取自网络,需要添加DiffieHellman.dll、Org.Mentalis.Security.dll、Tamir.SharpSSH.dll三个dll引用
摘要:using System; using System.Collections; using System.Collections.Generic; using System.IO; using Tamir.SharpSsh.java.io; using Tamir.SharpSsh.jsch; namespace EB.Mall.Core.Utils { public class SFT... 阅读全文
posted @ 2016-04-09 21:36 liujiwei0632 阅读(1638) 评论(0) 推荐(0)
asp.net通过ftp上传文件
摘要:public byte[] FtpDownLoad(string filePath) { try { FtpWebRequest reqFTP = GetFtpWebRequest(new Uri(fptServer + ftpMapPath + filePath), WebRequestMetho... 阅读全文
posted @ 2016-04-09 21:32 liujiwei0632 阅读(247) 评论(0) 推荐(0)