php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
ftp.stub.php File Reference

Go to the source code of this file.

Data Structures

class  FTP\Connection
 

Namespaces

namespace  FTP
 

Functions

 ftp_connect (string $hostname, int $port=21, int $timeout=90)
 
 ftp_ssl_connect (string $hostname, int $port=21, int $timeout=90)
 
 ftp_login (FTP\Connection $ftp, string $username, #[\SensitiveParameter] string $password)
 
 ftp_pwd (FTP\Connection $ftp)
 
 ftp_cdup (FTP\Connection $ftp)
 
 ftp_chdir (FTP\Connection $ftp, string $directory)
 
 ftp_exec (FTP\Connection $ftp, string $command)
 
 ftp_raw (FTP\Connection $ftp, string $command)
 
 ftp_mkdir (FTP\Connection $ftp, string $directory)
 
 ftp_rmdir (FTP\Connection $ftp, string $directory)
 
 ftp_chmod (FTP\Connection $ftp, int $permissions, string $filename)
 
 ftp_alloc (FTP\Connection $ftp, int $size, &$response=null)
 
 ftp_nlist (FTP\Connection $ftp, string $directory)
 
 ftp_rawlist (FTP\Connection $ftp, string $directory, bool $recursive=false)
 
 ftp_mlsd (FTP\Connection $ftp, string $directory)
 
 ftp_systype (FTP\Connection $ftp)
 
 ftp_fget (FTP\Connection $ftp, $stream, string $remote_filename, int $mode=FTP_BINARY, int $offset=0)
 
 ftp_nb_fget (FTP\Connection $ftp, $stream, string $remote_filename, int $mode=FTP_BINARY, int $offset=0)
 
 ftp_pasv (FTP\Connection $ftp, bool $enable)
 
 ftp_get (FTP\Connection $ftp, string $local_filename, string $remote_filename, int $mode=FTP_BINARY, int $offset=0)
 
 ftp_nb_get (FTP\Connection $ftp, string $local_filename, string $remote_filename, int $mode=FTP_BINARY, int $offset=0)
 
 ftp_nb_continue (FTP\Connection $ftp)
 
 ftp_fput (FTP\Connection $ftp, string $remote_filename, $stream, int $mode=FTP_BINARY, int $offset=0)
 
 ftp_nb_fput (FTP\Connection $ftp, string $remote_filename, $stream, int $mode=FTP_BINARY, int $offset=0)
 
 ftp_put (FTP\Connection $ftp, string $remote_filename, string $local_filename, int $mode=FTP_BINARY, int $offset=0)
 
 ftp_append (FTP\Connection $ftp, string $remote_filename, string $local_filename, int $mode=FTP_BINARY)
 
 ftp_nb_put (FTP\Connection $ftp, string $remote_filename, string $local_filename, int $mode=FTP_BINARY, int $offset=0)
 
 ftp_size (FTP\Connection $ftp, string $filename)
 
 ftp_mdtm (FTP\Connection $ftp, string $filename)
 
 ftp_rename (FTP\Connection $ftp, string $from, string $to)
 
 ftp_delete (FTP\Connection $ftp, string $filename)
 
 ftp_site (FTP\Connection $ftp, string $command)
 
 ftp_close (FTP\Connection $ftp)
 
 ftp_quit (FTP\Connection $ftp)
 
 ftp_set_option (FTP\Connection $ftp, int $option, $value)
 
 ftp_get_option (FTP\Connection $ftp, int $option)
 

Variables

const FTP_ASCII = UNKNOWN
 
const FTP_TEXT = UNKNOWN
 
const FTP_BINARY = UNKNOWN
 
const FTP_IMAGE = UNKNOWN
 
const FTP_AUTORESUME = UNKNOWN
 
const FTP_TIMEOUT_SEC = UNKNOWN
 
const FTP_AUTOSEEK = UNKNOWN
 
const FTP_USEPASVADDRESS = UNKNOWN
 
const FTP_FAILED = UNKNOWN
 
const FTP_FINISHED = UNKNOWN
 
const FTP_MOREDATA = UNKNOWN
 

Function Documentation

◆ ftp_alloc()

ftp_alloc ( FTP\Connection $ftp,
int $size,
& $response = null )
Parameters
string$response

Definition at line 84 of file ftp.stub.php.

◆ ftp_append()

ftp_append ( FTP\Connection $ftp,
string $remote_filename,
string $local_filename,
int $mode = FTP_BINARY )

Definition at line 122 of file ftp.stub.php.

◆ ftp_cdup()

ftp_cdup ( FTP\Connection $ftp)

Definition at line 70 of file ftp.stub.php.

◆ ftp_chdir()

ftp_chdir ( FTP\Connection $ftp,
string $directory )

Definition at line 71 of file ftp.stub.php.

◆ ftp_chmod()

ftp_chmod ( FTP\Connection $ftp,
int $permissions,
string $filename )

Definition at line 81 of file ftp.stub.php.

◆ ftp_close()

ftp_close ( FTP\Connection $ftp)

Definition at line 129 of file ftp.stub.php.

◆ ftp_connect()

ftp_connect ( string $hostname,
int $port = 21,
int $timeout = 90 )

Definition at line 62 of file ftp.stub.php.

◆ ftp_delete()

ftp_delete ( FTP\Connection $ftp,
string $filename )

Definition at line 127 of file ftp.stub.php.

◆ ftp_exec()

ftp_exec ( FTP\Connection $ftp,
string $command )

Definition at line 72 of file ftp.stub.php.

◆ ftp_fget()

ftp_fget ( FTP\Connection $ftp,
$stream,
string $remote_filename,
int $mode = FTP_BINARY,
int $offset = 0 )
Parameters
resource$stream

Definition at line 107 of file ftp.stub.php.

◆ ftp_fput()

ftp_fput ( FTP\Connection $ftp,
string $remote_filename,
$stream,
int $mode = FTP_BINARY,
int $offset = 0 )
Parameters
resource$stream

Definition at line 117 of file ftp.stub.php.

◆ ftp_get()

ftp_get ( FTP\Connection $ftp,
string $local_filename,
string $remote_filename,
int $mode = FTP_BINARY,
int $offset = 0 )

Definition at line 112 of file ftp.stub.php.

◆ ftp_get_option()

ftp_get_option ( FTP\Connection $ftp,
int $option )

Definition at line 136 of file ftp.stub.php.

◆ ftp_login()

ftp_login ( FTP\Connection $ftp,
string $username,
# string $password[\SensitiveParameter] )

Definition at line 68 of file ftp.stub.php.

◆ ftp_mdtm()

ftp_mdtm ( FTP\Connection $ftp,
string $filename )

Definition at line 125 of file ftp.stub.php.

◆ ftp_mkdir()

ftp_mkdir ( FTP\Connection $ftp,
string $directory )

Definition at line 79 of file ftp.stub.php.

◆ ftp_mlsd()

ftp_mlsd ( FTP\Connection $ftp,
string $directory )
Returns
array<int, array>|false @refcount 1

Definition at line 102 of file ftp.stub.php.

◆ ftp_nb_continue()

ftp_nb_continue ( FTP\Connection $ftp)

Definition at line 114 of file ftp.stub.php.

◆ ftp_nb_fget()

ftp_nb_fget ( FTP\Connection $ftp,
$stream,
string $remote_filename,
int $mode = FTP_BINARY,
int $offset = 0 )
Parameters
resource$stream

Definition at line 110 of file ftp.stub.php.

◆ ftp_nb_fput()

ftp_nb_fput ( FTP\Connection $ftp,
string $remote_filename,
$stream,
int $mode = FTP_BINARY,
int $offset = 0 )
Parameters
resource$stream

Definition at line 120 of file ftp.stub.php.

◆ ftp_nb_get()

ftp_nb_get ( FTP\Connection $ftp,
string $local_filename,
string $remote_filename,
int $mode = FTP_BINARY,
int $offset = 0 )

Definition at line 113 of file ftp.stub.php.

◆ ftp_nb_put()

ftp_nb_put ( FTP\Connection $ftp,
string $remote_filename,
string $local_filename,
int $mode = FTP_BINARY,
int $offset = 0 )

Definition at line 123 of file ftp.stub.php.

◆ ftp_nlist()

ftp_nlist ( FTP\Connection $ftp,
string $directory )
Returns
array<int, string>|false @refcount 1

Definition at line 90 of file ftp.stub.php.

◆ ftp_pasv()

ftp_pasv ( FTP\Connection $ftp,
bool $enable )

Definition at line 111 of file ftp.stub.php.

◆ ftp_put()

ftp_put ( FTP\Connection $ftp,
string $remote_filename,
string $local_filename,
int $mode = FTP_BINARY,
int $offset = 0 )

Definition at line 121 of file ftp.stub.php.

◆ ftp_pwd()

ftp_pwd ( FTP\Connection $ftp)

Definition at line 69 of file ftp.stub.php.

◆ ftp_quit()

ftp_quit ( FTP\Connection $ftp)

@alias ftp_close

Definition at line 132 of file ftp.stub.php.

◆ ftp_raw()

ftp_raw ( FTP\Connection $ftp,
string $command )
Returns
array<int, string>|null @refcount 1

Definition at line 78 of file ftp.stub.php.

◆ ftp_rawlist()

ftp_rawlist ( FTP\Connection $ftp,
string $directory,
bool $recursive = false )
Returns
array<int, string>|false @refcount 1

Definition at line 96 of file ftp.stub.php.

◆ ftp_rename()

ftp_rename ( FTP\Connection $ftp,
string $from,
string $to )

Definition at line 126 of file ftp.stub.php.

◆ ftp_rmdir()

ftp_rmdir ( FTP\Connection $ftp,
string $directory )

Definition at line 80 of file ftp.stub.php.

◆ ftp_set_option()

ftp_set_option ( FTP\Connection $ftp,
int $option,
$value )
Parameters
int | bool$value

Definition at line 135 of file ftp.stub.php.

◆ ftp_site()

ftp_site ( FTP\Connection $ftp,
string $command )

Definition at line 128 of file ftp.stub.php.

◆ ftp_size()

ftp_size ( FTP\Connection $ftp,
string $filename )

Definition at line 124 of file ftp.stub.php.

◆ ftp_ssl_connect()

ftp_ssl_connect ( string $hostname,
int $port = 21,
int $timeout = 90 )

Definition at line 65 of file ftp.stub.php.

◆ ftp_systype()

ftp_systype ( FTP\Connection $ftp)

Definition at line 104 of file ftp.stub.php.

Variable Documentation

◆ FTP_ASCII

const FTP_ASCII = UNKNOWN

Definition at line 10 of file ftp.stub.php.

◆ FTP_AUTORESUME

const FTP_AUTORESUME = UNKNOWN

Definition at line 30 of file ftp.stub.php.

◆ FTP_AUTOSEEK

const FTP_AUTOSEEK = UNKNOWN

Definition at line 40 of file ftp.stub.php.

◆ FTP_BINARY

const FTP_BINARY = UNKNOWN

Definition at line 20 of file ftp.stub.php.

◆ FTP_FAILED

const FTP_FAILED = UNKNOWN

Definition at line 50 of file ftp.stub.php.

◆ FTP_FINISHED

const FTP_FINISHED = UNKNOWN

Definition at line 55 of file ftp.stub.php.

◆ FTP_IMAGE

const FTP_IMAGE = UNKNOWN

Definition at line 25 of file ftp.stub.php.

◆ FTP_MOREDATA

const FTP_MOREDATA = UNKNOWN

Definition at line 60 of file ftp.stub.php.

◆ FTP_TEXT

const FTP_TEXT = UNKNOWN

Definition at line 15 of file ftp.stub.php.

◆ FTP_TIMEOUT_SEC

const FTP_TIMEOUT_SEC = UNKNOWN

Definition at line 35 of file ftp.stub.php.

◆ FTP_USEPASVADDRESS

const FTP_USEPASVADDRESS = UNKNOWN

Definition at line 45 of file ftp.stub.php.