PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SSL context options> <HTTP context options
Last updated: Fri, 18 Jul 2008

view this page in

FTP context options

(No version information available, might be only in CVS)

FTP context options — FTP context option listing

Description

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

Options

overwrite boolean

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

Defaults to FALSE.

resume_pos integer

File offset at which to begin transfer. Applies to read mode (downloading) only.

Defaults to 0 (Beginning of File).

proxy string

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

ChangeLog

Version Description
5.1.0 Added proxy .
5.0.0 Added overwrite and resume_pos .

Notes

Note: Underlying socket stream context options Additional context options may be supported by the underlying transport For ftp:// streams, refer to context options for the tcp:// transport. For ftps:// streams, refer to context options for the ssl:// transport.



add a note add a note User Contributed Notes
FTP context options
There are no user contributed notes for this page.

SSL context options> <HTTP context options
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites