PHP.nl

FTP context options

FTP context options

FTP context option listing

Context options for and transports. ftp://``ftps://

overwrite``boolAllow overwriting of already existing files on remote server. Applies to write mode (uploading) only.

Defaults to false.

resume_pos``intFile offset at which to begin transfer. Applies to read mode (downloading) only.

   Defaults to  (Beginning of File).
  `0`

proxy``string Proxy FTP request via http proxy server. Applies to file read operations only. Ex: . tcp://squid.example.com:8000

Opmerking: > ### Underlying socket stream context options

Additional context options may be supported by the
.
For  streams, refer to context
options for the  transport.  For
 streams, refer to context options
for the  transport.

underlying transportftp://``tcp://``ftps://``ssl://