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: 104 All time: 9,723 This week: 146Up
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: 30
All time rank: 16897 in Nigeria Nigeria
Week rank: 93 Up6 in Nigeria Nigeria Up
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:104
This week:0
All time:9,723
This week:146Up