phpCoreLib2
[ class tree: phpCoreLib2 ] [ index: phpCoreLib2 ] [ all elements ]

Class: DFTPAdvanced

Source Location: /Remote/FTP/DFTPAdvanced.php

Class Overview

DObject
   |
   --DFTPBase
      |
      --DFTP
         |
         --DFTPAdvanced

Advanced FTP class for upload, download and delete recursively on FTP server


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: DFTP

DFTP::__construct()
Constructor
DFTP::changeCurrentDirectoryOneUp()
Cahnges directory one up
DFTP::changeCurrentDirenctory()
Changes directory to specific path
DFTP::createDirectory()
Creates directory on FTP server
DFTP::downloadFile()
Downloads file from FTP server
DFTP::getCurrentDirectoryName()
Gets current directory name
DFTP::getList()
Gets FTP directory list
DFTP::isTransferComplete()
Checks if the transpher is complete
DFTP::removeEmptyDirectory()
Removes empty directory
DFTP::removeFile()
Removes file from FTP server
DFTP::uploadFile()
Uploads file on the FTP server
DFTP::__destruct()
Destructor

Class: DFTPBase

DFTPBase::__construct()
Constructor
DFTPBase::close()
Closes the FTP connection
DFTPBase::connect()
Connects to FTP server
DFTPBase::executeCommand()
Executes command on ftp server
DFTPBase::executeSiteCommand()
Executes SITE command on server
DFTPBase::getFTPConnection()
Gets FTP connection resource
DFTPBase::getHostIp()
Gets host IP
DFTPBase::getRemoteFileSize()
Gets remote file size in bytes
DFTPBase::getSystemType()
Gets FTP server type
DFTPBase::login()
Logs in
DFTPBase::setFileDirectoryPermissions()
Sets file or directory permissions
DFTPBase::setHost()
Sets host name and IP
DFTPBase::setPassiveMode()
Sets passive mode on/off
DFTPBase::_setErrorMsg()
Sets error message
DFTPBase::__destruct()
Destructor

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 20]
Advanced FTP class for upload, download and delete recursively on FTP server



[ Top ]


Class Methods


constructor __construct [line 28]

DFTPAdvanced __construct( string $hostName)

Constructor



Tags:

access:  public


Overrides DFTP::__construct() (Constructor)

Parameters:

string   $hostName  

[ Top ]

destructor __destruct [line 36]

void __destruct( )

Destructor



Tags:

access:  public


Overrides DFTP::__destruct() (Destructor)

[ Top ]

method downloadDirectory [line 48]

void downloadDirectory( string $remoteDirectoryName, string $localDirectoryName)

Downloads directory recursively



Tags:

access:  public


Parameters:

string   $remoteDirectoryName  
string   $localDirectoryName  

[ Top ]

method removeFullDirectory [line 115]

void removeFullDirectory( string $directoryName)

Removes full FTP Directory



Tags:

access:  public


Parameters:

string   $directoryName  

[ Top ]

method uploadDirectory [line 83]

void uploadDirectory( string $localDirectoryName, string $remoteDirectoryName)

Uploads directory recursively



Tags:

access:  public


Parameters:

string   $localDirectoryName  
string   $remoteDirectoryName  

[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:05:49 +0300 by phpDocumentor 1.4.3