PHP Classes

PHP FTP Client Manager: Access FTP server and show file listings in a page

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 105 All time: 9,706 This week: 69Up
Version License PHP version Categories
ftp_manager 1.0BSD License5Networking, PHP 5, Files and Folders
Description 

Author

This class can access FTP server and show file listings in a page.

It can take an array of configuration parameters and connects to a given FTP server.

The class can also retrieve the listing of files and generates HTML to display the listing in a Web page.

It can also retrieve a specific file and store it in a local directory.

Picture of chrys ugwu
  Performance   Level  
Name: chrys ugwu <contact>
Classes: 16 packages by
Country: Nigeria Nigeria
Age: 31
All time rank: 16817 in Nigeria Nigeria
Week rank: 311 Up10 in Nigeria Nigeria Down
Innovation award
Innovation award
Nominee: 4x

Example



<?php

require 'src/Ftp.php';

$config = array(

   
'host' => 'ftp.ghostff.com',
   
'port' => 21,
   
'timeout' => 90,
   
'username' => '...',
   
'password' => '...',
   
'path' => '',
   
'sync' => false,
   
'sync_dir' => 'ghostffFTP',
   
'UI' => true,
   
'test' => true
);

$ftp = new Ftp($config);

echo
$ftp->erros();
echo
$ftp->directories();


Details

FTP_Manager

implement client access to files


  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Plain text file index.php Example Example script
Plain text file README.md Data Read me

  Files folder image Files  /  src  
File Role Description
  Plain text file Ftp.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:105
This week:0
All time:9,706
This week:69Up