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

Class: PEAR_FTP

Source Location: /PEAR_RemoteInstaller-0.1.0/PEAR/FTP.php

Class Overview

Net_FTP
   |
   --PEAR_FTP

FTP class used for PEAR's remote installation feature


Author(s):

Version:

  • Release: 0.1.0

Copyright:

  • 1997-2005 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 34]
FTP class used for PEAR's remote installation feature


[ Top ]


Method Detail

init   [line 46]

true|PEAR_Error init( [string $url = null])


Parameters:

string   $url   —  full url to remote config file

[ Top ]

installFile   [line 138]

void installFile( string $local, string $remote)


Parameters:

string   $local   —  full path to local file
string   $remote   —  full path to remote file

[ Top ]

mkdir   [line 97]

mixed mkdir( string $dir, [bool $recursive = false])

This works similar to the mkdir-command on your local machine. You can either give it an absolute or relative path. The relative path will be completed with the actual selected server-path. (see: pwd())
  • Return: True on success, otherwise PEAR::Error
  • See: NET_FTP_ERR_CREATEDIR_FAILED
  • Access: public

Parameters:

string   $dir   —  Absolute or relative dir-path
bool   $recursive   —  (optional) Create all needed directories

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:15:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.