ftp多线程上传工具源码(怎么用ftp上传源码建网站)
本文目录一览:
- 1、多线程FTP程序用VC/C++如何设计
- 2、一个文件上传到很多个ftp,求方法或程序
- 3、ftp上传下载工具如何使用
- 4、ftp可否实现多线程上传
- 5、求C#写的FTP文件多线程源码,服务器客户端都有就好了。发送到邮箱也行282425568@qq.com
- 6、FtpWebRequest 多个文件同时上传。求C#代码,举个栗子就好。
多线程FTP程序用VC/C++如何设计
这是codeproject的关于ftp的实现,你可以去down源代码
Introduction
StuffFTP is a free for life FTP client. This FTP client will allow you to connect to FTP servers and upload and download files.
Motivation
Why did I create and continue to support StuffFTP? First it is a learning experience, and since I just got laid off from my company, I decided to use some of the tools they have provided, its legal as I technically bought them and they do not have other programmers following in my footstep nor do they plan on hiring any, to create something for the community. I also used another FTP program that was freeware for a while and then became pay to use software with little to no notice. That irked me and a friend suggested I create my own FTP client. So I am.
Progress
This is currently a work in progress and I would be the first to say there is a lot of work to do. Since I am laid off, I have lots of time on my hands. And this is an excellent chance for me to learn some of the concepts of C++ that I wanted to, but never had the chance while I was working. I was hoping to get a job in San Jose, CA, but decided to hold off and live on saving for a while.
Guarantee
I will support this program as best as I can. I have already setup a website and forum for it, here. I use the forum because I have trouble responding to email especially when I get a whole bunch of SPAM everyday. There is no adware or spyware in the program, and I guarantee that it will be free for the life of the program.
Some people have already asked why I don't open source the project. The main reason is I do not know if I can. StuffFTP uses some proprietary third party libraries. I do not know if I can post the source code or header files to those libraries. So everyone will have to wait until I can get rid of those libraries or hear back from the companies concerning my question about releasing header and associated help files.
Tools
* MS Windows XP Professional
* MS Visual Studio .NET C++/MFC
* Clickteam Install Maker
* Clickteam Patch Maker
* Betaone.net forum members
* CXListCtrl by Hans Dietrich
3rd Party Libraries
The application uses Catalyst Socket Tools Library Edition and Professional UI GUI library. So far the support has been fair with Prof-UI and outstanding with Catalyst. The Catalyst tool is for the actual FTP connection and, as the name suggests, Prof-UI is being used for the GUI.
Updates
You can find the latest updates here and you can also find my latest ramblings, blogs, and support here. This is where you can find out all the latest versions and information.
How to contribute
Money! Just kidding you can contribute by downloading, using, and giving feedback on the program. That way I can determine which path to take with the application and which features to prioritize or not. Graphics is also where I need lots of help. I am left brained and can not draw a good stick figure to save my life. If you can help with graphics or anything else, please let me know. Also talk to me, I am bored. I have no job at the moment so I can use the company.
Features
* Able to upload/download from server/computer
* Connect to FTP sites using login
* Connect using other ports besides 21
* Delete, rename, and CHMOD a file
History
* 12/10/2003 - Version 0.11a
* 12/07/2003 - Version 0.10a
一个文件上传到很多个ftp,求方法或程序
建议你使用8uftp支持在线解压缩,支持多线程上传。 ftp客户端。体积可以说是最小的了,只有330K,免费中文版不需要汉化和破解的缘故吧。功能也非常强大,应有尽有。可以支持多线程上传;还支持直接上传压缩包后在空间上直接解压。8uftp是非常精辟的ftp客户端。目前体积最小的FTP客户端工具。 终身免费中文版,非汉化版,非破解版。 涵盖其它FTP工具功能独家支持多线程上传,使上传速度更快更稳定。 同时支持直接上传压缩包,可在空间上直接解压。也可以在空间上压缩后直接下载压缩包
ftp上传下载工具如何使用
建议你使用8uftp支持在线解压缩,支持多线程上传。 ftp客户端。体积可以说是最小的了,只有330K,免费中文版不需要汉化和破解的缘故吧。功能也非常强大,应有尽有。可以支持多线程上传;还支持直接上传压缩包后在空间上直接解压。8uftp是非常精辟的ftp客户端。目前体积最小的FTP客户端工具。 终身免费中文版,非汉化版,非破解版。 涵盖其它FTP工具功能独家支持多线程上传,使上传速度更快更稳定。 同时支持直接上传压缩包,可在空间上直接解压。也可以在空间上压缩后直接下载压缩包
ftp可否实现多线程上传
没有FTP软件可以满足你的要求。因为FTP协议里没有给你多线程上传的办法。
求C#写的FTP文件多线程源码,服务器客户端都有就好了。发送到邮箱也行282425568@qq.com
FTP服务器源码?难道你自己想实现一个自定义的建议FTP服务吗?这样不是不行,关键是ftp服务本来就是一种古老的文件共享协议,建立在TCP/IP协议上,这已经是实现了的东西,有自己的通信协议,为什么还要自己写一个服务?
要FTP客户端,负责和服务器通信的话,倒是有。
FtpWebRequest 多个文件同时上传。求C#代码,举个栗子就好。
#
using System;
using System.IO;
using System.Net;
namespace Ftp
{
class Program
{
static void Main(string[] args)
{
DirectoryInfo dir = new DirectoryInfo("upload");//上传文件所在的目录
FileInfo[] fileInfos = dir.GetFiles();
foreach (FileInfo item in fileInfos)//遍历目录下的所有文件
{
UploadFile(item);//开始上传
}
Console.WriteLine("done!");
}
private static void UploadFile(FileInfo fi)
{
FileStream fs = fi.OpenRead();
long length = fs.Length;
FtpWebRequest req = (FtpWebRequest)WebRequest.Create(new Uri("" + fi.Name));
req.Credentials = new NetworkCredential("name", "password");
req.Method = WebRequestMethods.;
req.UseBinary = true;
req.ContentLength = length;
req.Timeout = 10 * 1000;
try
{
Stream stream = req.GetRequestStream();
int BufferLength = 2048;
byte[] b = new byte[BufferLength];
int i;
while ((i = fs.Read(b, 0, BufferLength)) 0)
{
stream.Write(b, 0, i);
}
stream.Close();
stream.Dispose();
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
}
}
}