FTP is a file transfer protocol that provides client access to the file server through the File Transfer Protocol (FTP). It is used to open, log in and close connections, and is also used to upload, download, rename, delete and obtain. File information on the file server. PHP Chinese website provides you with 8 practical php ftp operation libraries for everyone to learn and download.
php ftp operation class library download
This class library is a powerful single file ftp management tool that can perform various operations on a single file and delete files very quickly.
Detailed introduction to PHP operation FTP class, php realizes FTP upload, FTP download, FTP move, FTP creation, copy files, Generate file directories, etc., and attach a php file for operating ftp for everyone to learn to call.
PHP FTP operation class (upload, copy, move, delete files/create directories). Operate various ftp files. If the target of the uploaded file does not exist, create a new file. When copying files, since FTP does not have a copy command, the workaround operation is: download and then upload to a new path.
4. Imitate CodeIgniter’s FTP class
FTP is a file transfer protocol. It supports two modes, one is called Standard (that is, Active, Active mode), one is Passive (that is, PASV, passive mode). The Standard mode FTP client sends the PORT command to the FTP server. Passive mode FTP client sends PASV command to FTP Server. The FTP client first establishes a connection with the TCP 21 port of the FTP Server and sends commands through this channel. When the client needs to receive data, it sends a PORT command on this channel. The PORT command contains the port used by the client to receive data. When transmitting data, the server sends data through its own TCP 20 port. The FTP server must establish a new connection with the client to transfer data. When establishing a control channel, it is similar to the Standard mode. When the client sends the PASV command through this channel, the FTP server opens a random port between 1024 and 5000 and notifies the client of the request to transmit data on this port, and then The FTP server will transmit data through this port. At this time, the FTP server no longer needs to establish a new connection with the client.
5. Get a php class that automatically downloads files from FTP
A php class that gets automatically downloaded files from FTP, connect to the ftp server and log in to get the ftp path and file name , enter the specified path, or create a new directory, and download the specified FTP file to the specified local file.
6. ftp upload file operation php class
ftp upload file operation php class, you can upload, move files, delete files/create directories, copy files, and provide method of testing.
7. Username and password to connect to the php class of FTP
A username and password to connect to the php class of FTP, to connect to the FTP server through the username and password, and to realize file copying , delete, create directory, delete directory, file upload, close FTP connection and other functions. There is no command to copy files in FTP. A workaround is used here, download and then upload to a new path.
8.php uses ftp to remotely upload file classes
php uses ftp to remotely upload file classes, perfectly solving the master-slave file synchronization problem, open and log in to the server, and create a directory And locate the directory to the current directory to obtain the ftp server configuration.
For more operation-related class library downloads, please pay attention to: http://www.php.cn/xiazai/leiku/qita
[Related Class Library Recommendations]
2. php paging code sharing: Download the latest 10 php paging codes in 2017
3.【php thumbnail category】The latest 10 using php to generate thumbnails Class library download
4.[php verification code class] Share 10 useful php verification code class codes