1. Connect to the FTP serverFormat: FTP [hostname| ip-address]A) under the Linux command line, enter:FTP 192.168.1.1b) The server asks for your user name and password, enter the user name and the corresponding password, respectively, to be certified.2. Download the fileThe download
Based on the Apache FTP implementation of the File upload download tool, upload files need to consider the following issues:
(1) Whether there is a directory for the FTP server, if the directory does not exist, you need to create a directory.
(2), to determine whether the upload file already exists, if there is a need
FTP File Upload
FTP File Download
Delete an FTP File
Create directory for FTP File Operations
I have previously written an FTP-based file upload method. How can I not download
several steps:
1, confirm the FTP server IP address and port information (if you are using the default port can not care);2, do ftp_connect operation, connect to FTP server (need to note whether the port parameter is set);3, the Ftp_login operation, the use of FTP user name
Now there is a need to take a remote file below the image, download to the local, and delete the successful download of the file, and the remote directory of the image will be added at any time. Suppose that if all the scripts are written, then it is OK to call the scheduled task on Windows and execute the script on time, and Linux can use Cronjob as well. The general realization of the idea is as follows,
Windows 2003 Standard Edition, Windows 2003 Enterprise Edition, Windows XP Professional, Windows SQL Server, Windows xp-based Ad vanced Server and the default installation of Windows Professional are all equipped with IIS. IIS is not installed by default during the installation of the system and can be installed by adding a removal program after the installation of the system.
IIS is a set of integrated sy
, and delete. The FTP protocol mentioned here is specifically used to specify the standards and rules for file transfer between computers, just because there is a special protocol such as FTP, so that people can use different types of computers, different types of operating systems, different types of files to communicate with each other.
Although the current FTP
software here.
3. Configure the Vsftpd Server
Vsftpd configuration fileMain Program of/usr/sbin/vsftpd Vsftpd/Etc/rc. d/init. d/vsftpd Startup Script/Etc/vsftpd. conf main configuration file/Etc/pam. d/vsftpd PAM Authentication File/Etc/vsftpd. ftpusers disable Vsftpd User List Files/Etc/vsftpd. user_list prohibit or allow Vsftpd User List Files/Var/ftp Anonymous user home directory/Var/
Recently wanted to download a Web site from the United States server, found that the speed of FTP is often 0.1k/seconds
My God, it's so slow. Google's agent is also not good to use. Use the agent on the link is not on.
Find a friend of the domestic multi-line room, it is fast a lot.
Linux FTP connection, use, all re
has many powerful features that are well-suited to the management requirements of larger-throughput FTP servers:
1, the user can download the file at the same time to do automatic compression or decompression operation;
2, can be different on the network of machines to do different access restrictions;
3, can record the file upload and download time;
4, can
directory of the FTP server, so that the home directory of an FTP server can essentially include many different disk characters and directories of different paths without being limited by the disk space. When a user logs on to the home directory, it can also be manipulated according to the permissions of the account,
directory.
3. Test the/var/ftp directory used to access the vsftpd server on the client.
Enter "ftp: // Centos system IP Address" in the "Address" column of Windows resource manager. Press enter to display the content in the current/var/ftp directory.
Iv. configuration of upload and
to access the site, the same site can set up multiple accounts, each account can have different permissions, such as some can upload and download, while others only allow downloading.3) Security SettingsEnter the security Account tab with the Allow anonymous connections and only anonymous connections, and the default is allow anonymous connections, at which point the FTP
The common operation commands under Linux are FTP, LFTP and SFTP, and the graphical interface is very useful FileZilla. However, in the server command interface, LFTP is more convenient to use and more powerful than FTP. Lftp interface is like the Linux shell, with command completion, history, allowing multiple background task execution, bookmarks, queueing, mirr
is "Very Secure". As you can see from the name, the creator of the software has been very focused on its security. In addition to the inherent safety, VSFTP also has high-speed, stable performance characteristics. In terms of stability, vsftp can support more than 4,000 concurrent users at the same time on a stand-alone (non-clustered) connection. According to ftp.redhat.com data, VSFTP can support up to 15,000 concurrent users.
quickly build an FTP
FTP Server 192.168.62.2First step: vsftpd configuration file changes[[email protected]vsftpd]# Cat vsftpd.conf# Example Config file/etc/vsftpd/vsftpd.conf## The default compiled in Settings is fairly paranoid. This sample file# loosens things up a bit, to make the FTP daemon more usable.# vsftpd.conf.5 See the compiled in defaults.## READ This:this Example file i
Serv-u is a widely used FTP server-side software that supports the Windows 9X/2000/XP operating system. It is simple to install, powerful, you can use the same IP to set multiple FTP servers, limit the permissions of the Logged-in user, the main directory and space size, support remote login management.
1. Install Serv-u
Serv-u installation is quite simple, you
, to be used with%TCONM%ratioup-Display the upload traffic limit of the login user%ratiodown-Display the download traffic limit for the logged in user%ratiocredit-Show users how many credit can upload and download, this is for some FTP is to upload how many files, can download how many files and set%quotaused-Shows how
file transfer, here I mainly introduce how Java is the FTP tool for uploading and downloading files, here Our FTP server is the Linux operating system.
Second, Java Shelf Package referenceWhich "Commons-net-1.4.1.jar", "Jakarta-oro-2.0.8.jar" click on the link can be directly downloaded, and to ensure that it can be used, we can safely
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.