History log of /PHP-7.2/ext/standard/ftp_fopen_wrapper.c (Results 101 – 125 of 166)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e9a1d12f 29-Nov-2003 Sara Golemon

Add in missing stat element and fix win32 build


# 9defdab1 29-Nov-2003 Sara Golemon

Finish off ftp://'s url_stat support


# 026d4c9e 28-Nov-2003 Sara Golemon

Route php_stat() via streams/url_stat API (php_stream_stat_path).
This enables fopen-wrappers support on stat() and related family calls.


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1
# 075e66cc 26-Sep-2003 Hartmut Holzgraefe

signed/unsigned compiler warning fixes


Revision tags: RELEASE_0_7
# 6a7dde29 28-Aug-2003 Sascha Schumann

kill warnings


# a76f0dc8 25-Aug-2003 Sara Golemon

Bugfix#25239 Closing control stream while data stream is open violates RFC959 section 2.3


Revision tags: php-4.3.3
# 6f88d49d 20-Aug-2003 Sara Golemon

Add resume_pos (resume position) context option for restarting file downloads.


Revision tags: php-4.3.3RC4
# 1a0bd6e9 08-Aug-2003 Sara Golemon

Plug leak in ftp_url_stat


Revision tags: RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2, php-5.0.0b1, php-4.3.3RC1
# 66881b5f 18-Jun-2003 Sara Golemon

Fix compiler warnings


# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT
# 85a13e3e 17-May-2003 Sebastian Bergmann

Fix warnings.


Revision tags: php-4.3.2RC3
# 022a1625 14-May-2003 Sara Golemon

Implement unlink() method in ftp wrapper ops and do some general cleanup of other code


Revision tags: RELEASE_0_9b
# 5126fbe5 14-May-2003 Sara Golemon

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapp

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops

show more ...


# e6490c4a 05-May-2003 Hartmut Holzgraefe

basename() now binary safe, testcases added


Revision tags: SPL_ALPHA, php-4.3.2RC2
# bb48c7d8 26-Apr-2003 Sara Golemon

Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be. Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize. Other properti

Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be. Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize. Other properties set to 0 since the FTP protocol simply doesn't support exploring them. url_stat won't actually work however until ext/standard/filestat.c is patched to allow stat wrappers.

show more ...


# 2d558127 24-Apr-2003 Sara Golemon

No idea how that character dissapeared.


# 2fc1d2c3 24-Apr-2003 Sara Golemon

Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add append support to wrapper


# 228f65f8 24-Apr-2003 Sara Golemon

Abtract some ftp connection/negotiation steps out and add support for stream_opendir. This allows things like opendir('ftp://ftp.foo.com/path')


# cb89565b 22-Apr-2003 Sara Golemon

Feature Request #7121.
Allow overwritting of files via ftp:// wrapper.
Requires context option: $context['ftp']['overwrite'] != 0


Revision tags: RELEASE_0_6, RELEASE_0_5, init, php-4.3.2RC1
# 76ebaa6e 27-Feb-2003 Wez Furlong

- Move https:// and ftps:// wrapper registration into the openssl module.
- Expose the http:// and ftp:// wrappers as PHPAPI
- Remove unused variables


# fd61f690 27-Feb-2003 Wez Furlong

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extension

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.

show more ...


# e8823a20 25-Feb-2003 Ilia Alshanetsky

Fixed bug #22402 (opening of ftp for read/write could fail due to invalid
return code handling).
Solution suggested by jan@jancm.org


# 4934744b 17-Feb-2003 Zeev Suraski

Win32 build improvements


Revision tags: php-4.3.1
# 0a18a9d7 16-Feb-2003 Wez Furlong

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file de

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.

show more ...


# f8eba6de 13-Feb-2003 Ilia Alshanetsky

Added 'x' mode for fopen() used on local files. This mode will create a new
file only if a file does not already exist (O_CREAT|O_EXCL).


1234567