Private Method Details |
Bs_FtpClient |
|
private void Bs_FtpClient( )
|
| |
constructor
Warning: documentation is missing.
|
| Returns |
void |
|
connect |
|
private void connect( )
|
| |
uses ftp_connect
Warning: documentation is missing.
|
| Returns |
void |
|
login |
|
private void login( )
|
| |
uses ftp_login
Warning: documentation is missing.
|
| Returns |
void |
|
pwd |
|
private void pwd( [ bool $useCache ] )
|
| |
uses ftp_pwd
Warning: documentation is missing.
|
| Parameter |
|
| bool |
$useCache |
= >>TRUE<< |
|
default is TRUE. if we should use the cached information if available. |
|
| Returns |
void |
| Throws |
bool FALSE |
|
cdUp |
|
private void cdUp( )
|
| |
uses ftp_cdup — Changes to the parent directory
Warning: documentation is missing.
|
| Returns |
void |
|
chDir |
|
private void chDir( string $directory )
|
| |
ftp_chdir — Changes directories on an FTP server
Warning: documentation is missing.
|
| Parameter |
|
| string |
$directory |
|
|
(the directory to go to.) |
|
| Returns |
void |
|
mkDir |
|
private void mkDir( string $directory )
|
| |
ftp_mkdir — Creates a directory
Warning: documentation is missing.
|
| Parameter |
|
| string |
$directory |
|
|
(the new directory name.) |
|
| Returns |
void |
|
rmDir |
|
private void rmDir( string $directory )
|
| |
ftp_rmdir — Removes a directory
Warning: documentation is missing.
|
| Parameter |
|
| string |
$directory |
|
|
(the directory name.) |
|
| Returns |
void |
|
&nList |
|
private void &nList( string $directory )
|
| |
ftp_nlist — Returns a list of files in the given directory.
Warning: documentation is missing.
|
| Parameter |
|
| string |
$directory |
|
|
(the directory name.) |
|
| Returns |
void |
| Throws |
bool FALSE |
|
&rawList |
|
private void &rawList( string $directory, [ bool $parse ] )
|
| |
ftp_rawlist — Returns a detailed list of files in the given directory.
Warning: documentation is missing.
|
| Parameter |
|
| string |
$directory |
|
|
(the directory name.) |
|
|
| bool |
$parse |
= >>TRUE<< |
|
(default is TRUE, see above.) |
|
| Returns |
void |
|
sysType |
|
private void sysType( [ bool $useCache ] )
|
| |
ftp_systype — Returns the system type identifier of the remote FTP server.
Warning: documentation is missing.
|
| Parameter |
|
| bool |
$useCache |
= >>TRUE<< |
|
default is TRUE. if we should use the cached information if available. |
|
| Returns |
void |
| Throws |
bool FALSE |
|
pasv |
|
private void pasv( bool $param )
|
| |
ftp_pasv — Turns passive mode on or off.
Warning: documentation is missing.
|
| Parameter |
|
|
| Returns |
void |
|
get |
|
private void get( string $localFile, string $remoteFile, [ int $mode ] )
|
| |
ftp_get — Downloads a file from the FTP server.
Warning: documentation is missing.
|
| Parameter |
|
|
|
|
|
| int |
$mode |
= >>NULL<< |
|
(use constant, one of FTP_ASCII or FTP_BINARY. if not given $this->_transferMode is used.) |
|
| Returns |
void |
|
fGet |
|
private void fGet( int $fp, string $remoteFile, [ int $mode ] )
|
| |
ftp_fget — Downloads a file from the FTP server and saves to an open file.
Warning: documentation is missing.
|
| Parameter |
|
|
|
|
|
| int |
$mode |
= >>NULL<< |
|
(use constant, one of FTP_ASCII or FTP_BINARY. if not given $this->_transferMode is used.) |
|
| Returns |
void |
|
put |
|
private void put( string $localFile, string $remoteFile, [ int $mode ] )
|
| |
ftp_put — Uploads a file to the FTP server.
Warning: documentation is missing.
|
| Parameter |
|
|
|
|
|
| int |
$mode |
= >>NULL<< |
|
(use constant, one of FTP_ASCII or FTP_BINARY. if not given $this->_transferMode is used.) |
|
| Returns |
void |
|
fPut |
|
private void fPut( int $fp, string $remoteFile, [ int $mode ] )
|
| |
ftp_fput — Uploads from an open file to the FTP server.
Warning: documentation is missing.
|
| Parameter |
|
|
|
|
|
| int |
$mode |
= >>NULL<< |
|
(use constant, one of FTP_ASCII or FTP_BINARY. if not given $this->_transferMode is used.) |
|
| Returns |
void |
|
size |
|
private void size( string $remoteFile )
|
| |
ftp_size — Returns the size of the given file.
Warning: documentation is missing.
|
| Parameter |
|
|
| Returns |
void |
| Throws |
bool FALSE on error or if not supported by server. |
| See Also |
localSize() |
|
lastMod |
|
private void lastMod( string $remoteFile )
|
| |
ftp_mdtm — Returns the last modified time of the given file.
Warning: documentation is missing.
|
| Parameter |
|
|
| Returns |
void |
| Throws |
bool FALSE on error or if not supported by server. |
| See Also |
localLastMod() |
|
rename |
|
private void rename( string $remoteFile, string $newRemoteFile )
|
| |
ftp_rename — Renames a file on the ftp server.
Warning: documentation is missing.
|
| Parameter |
|
|
|
|
| Returns |
void |
| See Also |
localRename() |
|
delete |
|
private void delete( string $remoteFile )
|
| |
ftp_delete — Deletes a file on the ftp server.
Warning: documentation is missing.
|
| Parameter |
|
|
| Returns |
void |
| See Also |
localDelete() |
|
site |
|
private void site( string $command )
|
| |
ftp_site — Sends a SITE command to the server.
Warning: documentation is missing.
|
| Parameter |
|
|
| Returns |
void |
|
quit |
|
private void quit( )
|
| |
ftp_quit — Closes an FTP connection
Warning: documentation is missing.
|
| Returns |
void |
|