EDTFTPJ is an FTP client package that can be embedded in an application to provide FTP functionality. It provides methods such as put (), get (), ChDir (), dir () and PWD () to complete the function of FTP.
There is a ftpclient class in EDTFTPJ that enables FTP uploads. Several functions are used to illustrate the following: 1, the constructor function &http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" FtpClient (FTP server, FTP port) 2, Login (FTP login account, FTP password)//login FTP server 3, ChDir ("folder name")/Enter a directory on FTP, similar to the DOS CD command 4, SetType (ftptransfertype.binary)//Set Transport type 5, mkdir ("folder name")//new directory under FTP current directory
EDTFTPJ is an FTP client library that enables any Java application to have full embedded FTP capabilities. It includes an Easy-to-use API approach, such as DownloadFile () and UploadFile (). Most FTP commands are supported and active and passive mode. EDFTPJ has been widely tested and has been widely used in thousands of projects.
Free Java FTP Library gives Java developers:
Extensive FTP functionality. Wahaha and proven-in use in tens of thousands of applications. Java Source-code included! Open source and free for commercial use (LGPL). Downloaded over 200,000 times!
1. Permit 232 code to is returned from USER command. 2. Add ability to abort listings when using a callback. 3, Added Rollingfileappender. 4. Added a system property to add a prefix to all EDTFTPJ loggers (for use with log4j). 5, tweaks to Unixfileparser for some unusual formats. 6, ensure that "." and "..." don ' t appear in listings, use wildcards.
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.