Description
bool
ftp_set_option
( resource ftp_stream, int option, mixed value)
טבלה
1
.
|
Changes
the
timeout
in
seconds
used
for
all
network
related
functions
.
Parameter
value
has
be
to
of
type
int
and
must
be
greater
than
0
.
|
דוגמה
1
.
ftp_set_option(
)
example
/
/
Set
the
network
timeout
down
to
10
seconds
ftp_set_option(
$conn_id
,
FTP_TIMEOUT_SEC
,
10)
;
|
|