. Updated Daily. Editions SDA India   SDA Indonesia
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

Wednesday, 7 March 2007

Know About the ftp Server Written in PHP

 

 

Justin Silverton, in a new post over his blog talks about nanoFTPD, an ftp server written in PHP. He says, it is an ftp daemon written in PHP as of version 4.2.0. PHP supports the command-line interface (stable since 4.3.0), which nanoFTPd relies on. nanoFTPd is modular, so it’s easy to add custom modules and other stuff, like different database interfaces.

He guides you on configuring and installing this server. He says, before running nanoFTPD, you have to change variables in config.php and change the first line of nanoftpd.php to the path of your PHP binary. He explains that installing is straightforward. You only have to copy the whole directory (with subdirectories) into a directory of your choice; for example /usr/share/nanoftpd.

He lists the following requirements to set it up:

  • PHP 4.2.0 or above
  • A database server (MySQL or POSTGRES)
  • PHP extension: CLI
  • PHP extension: sockets
  • PHP extension: POSIX
  • For best performance, compile php with –disable-cgi


The features listed by him are as follows:
  • User authentication via a database/textfile
  • MySQL + POSGRESQL support
  • Passive mode
  • Dynamic IP support
  • Basic FTP commands
  • Logging


You can download nanoFTPD here.

 

Read the Post

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2009 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use