For WeiWei Server Code
来源:互联网 发布:局域网邮件服务器软件 编辑:程序博客网 时间:2024/04/29 20:25
using System; using System.IO; using System.Collections.Generic; public class MyClass { public static void Main() { //Get all Drivers String[] logDrivers = Environment.GetLogicalDrives(); foreach(string temp in logDrivers) { Console.WriteLine(temp); } SearchBase.addSubDirectory(new DirectoryInfo(logDrivers[logDrivers.Length-3]), "*.*"); Console.WriteLine(SearchBase.ra); Console.ReadKey(); } } public class SearchBase { private SearchBase() { } public static int ra; public static void addSubDirectory(DirectoryInfo directory,string pattern) { foreach (FileInfo fi in directory.GetFiles(pattern)) { addrelativeDocument(fi.FullName); } foreach (DirectoryInfo di in directory.GetDirectories()) { addSubDirectory(di,pattern); } } public static void addrelativeDocument(string path) { // string html; // using (StreamReader sr = new StreamReader(path, System.Text.Encoding.Default)) // { // html = sr.ReadToEnd(); // } // string time=DateTime.Now.ToLongTimeString(); // string[] timetopath=time.Split(':'); // string newtime=null; // for(int i=0;i
- For WeiWei Server Code
- A simply client code for that server.
- 关于Server returned HTTP response code: 403 for URL
- Server returned HTTP response code: 500 for URL解决方法
- Server returned HTTP response code: 416 for UR
- Server returned HTTP response code: 500 for URL
- 关于Server returned HTTP response code: 403 for URL
- Server returned HTTP response code: 500 for URL: http.......错误
- Server returned HTTP response code: 500 for URL:
- Server Code
- weiwei爬虫4.4--超时设置
- Code Review for Java code
- Java code for authenticating into SMTP server with Auth and TLS turned on..
- java.io.IOException: Server returned HTTP response code: 403 for URL: http://
- webservice报错 Server returned error code = 401 for URI
- java.io.IOException: Server returned HTTP response code: 500 for URL
- C Socket Programming for Linux with a Server and Client Example Code
- java.io.IOException: Server returned HTTP response code: 500 for URL
- 插件式设计的架构模型与实例
- vb.net下载网页html代码
- 用php模拟http post 数据
- 新的
- CSDN的Blog八错
- For WeiWei Server Code
- 我看校内app应用的开发
- 呵呵,直播改造,又迈进了不小的一步
- 呵呵,直播改造,又迈进了不小的一步
- C# in depth 阅读笔记-- 委托
- 心情
- 【共享】给Vb.net注释多行
- 开始学习j2me用于手机开发
- 多年的朋友