Oihana Php Ftp

FtpConnectionOption uses ConstantsTrait

Enumerates the runtime options accepted by {@see \ftp_set_option()} / {@see \ftp_get_option()}.

The constants alias the matching ext-ftp predefined constants, so callers never have to reach for the global FTP_* magic values directly.

Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Constants

AUTOSEEK  : int = FTP_AUTOSEEK
Whether to seek to a restart point on resumed transfers. Mirrors `FTP_AUTOSEEK`.
TIMEOUT_SEC  : int = FTP_TIMEOUT_SEC
The timeout, in seconds, used for network operations. Mirrors `FTP_TIMEOUT_SEC`.
USE_PASV_ADDRESS  : int = FTP_USEPASVADDRESS
Whether to use the IP address returned by the server for passive transfers.

Constants

AUTOSEEK

Whether to seek to a restart point on resumed transfers. Mirrors `FTP_AUTOSEEK`.

public int AUTOSEEK = FTP_AUTOSEEK

TIMEOUT_SEC

The timeout, in seconds, used for network operations. Mirrors `FTP_TIMEOUT_SEC`.

public int TIMEOUT_SEC = FTP_TIMEOUT_SEC

USE_PASV_ADDRESS

Whether to use the IP address returned by the server for passive transfers.

public int USE_PASV_ADDRESS = FTP_USEPASVADDRESS

Mirrors FTP_USEPASVADDRESS.

On this page

Search results