Recently, a project needs to support ftp access, but FCL of. NET 1.1 does not provide related classes, so you have to develop an FTP client component by yourself. However, I am a lazy Program Personnel, of course, will not be able to work hard as soon as they get their needs, huh ~ Now that the Internet is so developed, it is full of useful information, unlimited business opportunities, available resources, and dinosaurs -_-! Men, be careful ~
Back to the question, I suggest you add basic FTP protocol knowledge before developing an FTP client component or using some open-source FTP client components, this will be helpful for you to understand the working principles of the FTP client components. Which of the following are some of Article Generally, you only need to read the first three articles:
L Analysis of FTP Working Principles
L file transfer protocol (FTP)
L FTP command details
L FTP protocol analysis and Expansion
I have referenced several open-source projects in the process of developing FTP client components. In fact, they work in the same principle, but they only look at the author's design, the final effect is mainly manifested in ease of use, stability, scalability and compatibility.
Edtftpnet
Http://www.enterprisedt.com/products/edtftpnet/
Edtftpnet is an FTP client component developed by enterprise distributed technologies. It has complete functions and documentation, and the project uses test-Driven Development (from the source code ). This is also the main reason why I chose it. Features:
L support active and passive Modes)
L binary transmission is interrupted and subsequent transmission is supported
L support event monitoring of transmission progress
Edtftpnet does not support socks proxy and ftps, which are supported by the company's edtftpnet/Pro products.
FTP component
Http://www.codeproject.com/dotnet/dotnetftp.asp
FTP component is developed by Alex Kwok. In addition to the active (port) mode, other functions are similar to edtftpnet. Code The organization is fine, and it looks good. The reason why I didn't use it is: it's okay to use it to upload files, but I can't find the files for downloading. I tracked down the problem probably IN THE LIST command. I am a network programming idiot Based on Time constraints, so I don't have time to study it slowly. Tell me the reason.
Ftpclient
Http://www.sunmast.com/soft/ftpclient.zip
The ftpclient component was written by the sunmast brother a long time ago (in College). He said there were a lot of bugs and I was scared. This component was the first one to be opened by me. There was no major problem, that is, it did not support event tracking of transmission progress. Based on the time problem, I gave up. Sunmast says it does not want to update this component, because. NET 2.0 already supports FTP. Open the class library document of Visual Studio. NET 2005. In system. net, there are two classes ftpwebrequest and ftpwebresponse added, and an ftpstatuscode enumeration. At that time, there was an impulse to use reflector to transplant the three classes in. NET 2.0 to. NET 1.1. However, when I opened it, I couldn't understand a lot of them, so I didn't "break down. If you are interested, you can try it. Remember to send the result to me.
. Net FTP Client
Http://sourceforge.net/projects/dotnetftpclient/http:/sourceforge.net/projects/dotnetftpclient/
This is found in SourceForge. The function design is relatively simple, and the Code does not even have comments. It is clean and dizzy.
I have never used other products, so I will not introduce them. The last one is the FTP server, not the FTP client. You can give it a try by yourself.
Http://sourceforge.net/projects/ftpnet/
Http://sourceforge.net/projects/ftpnet/
Multi-threaded FTP program written in C #
Ftp4net
Http://sourceforge.net/projects/ftp4net/
Ftp4net is a C # class for communication with FTP server, which conforms to the RFC 959 (FTP ). it \'s an API that handles all FTP protocol commands. this class is designed for creating FTP client software. net
FTP dot net
Http://sourceforge.net/projects/ftpcs/
FTP dot net is a FTP server written in C #. it runs on Windows 2000/XP/2003 and Framework 1.1. it provide windows/Active Directory/NTFS authentication and permissions, isolated FTP roots and virtual paths.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.