PHP Classes

Advanced FTP client class: FTP client in pure PHP

Recommend this page to a friend!

  Author Author  
Picture of Alexey Dotsenko
Name: Alexey Dotsenko <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 45
All time rank: 1373 in Ukraine Ukraine
Week rank: 587 Down8 in Ukraine Ukraine Down

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This is a FTP client class written in PHP, so it does not need any special FTP extensions to work.

The class supports passive and active FTP connections. To work with active connection, there is a special sub-class that uses the PHP sockets extension.

The class can:

- Establish connections within a configured timeout value and automatically authenticate
- Output connection debug information
- Retrieve the FTP protocol features supported by the server
- Change the current directory
- Retrieve directory listings
- Parse the directory listing entry attributes
- Check whether a given file or a directory exists
- Retrieve the size of files, the files timestamp
- Choose the transfer type between ASCII and binary
- Set the permissions mask for files copied to the local server
- Send and receive files
- Resume download from a given file position offset
- Create and remove directories
- Rename, delete and change the permissions of files

  Classes of Alexey Dotsenko  >  Advanced FTP client class  >  Download Download .zip .tar.gz  >  Support forum Support forum (24)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Advanced FTP client class
Base name: pemftp
Description: FTP client in pure PHP
Version: 1
PHP version: 4.3
License: GNU Lesser General Public License (LGPL)
All time users: 14280 users
All time rank: 71
Week users: 0 users
Week rank: 491 Equal
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (93%) Good (91%) Sufficient (67%) Sufficient (76%) - - Sufficient (70%) 369
Month: Not yet rated by the users

  Pages that reference this package  
FTP-Client in PHP
Auch hier habe ich wiedermal eine Sehr nette PHP-Klasse unter gefunden...
I need a "work around" for PHP ftp functions
If they have socket functions enabled then you can use a pure PHP based FTP client...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
Wordpress automatic upgrades
Fully automatic upgrades of your WordPress

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Accessible without login Plain text file description.txt Doc. short class methods description
Plain text file ftptest.php Example Example
Plain text file ftp_class.php Class Base class
Plain text file ftp_class_pure.php Class extends base class in order to work without any additional php modules ( can work only in passive mode )
Plain text file ftp_class_sockets.php Class extends base class in order to work using sockets

Install with Composer Install with Composer - Download Download all files: pemftp.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.