summaryrefslogtreecommitdiff
path: root/ext/standard/ftp_fopen_wrapper.c
Commit message (Collapse)AuthorAgeFilesLines
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Pass context parameter through to xport_createSara Golemon2005-07-151-2/+2
|
* Route ftp:// wrapper via transports layer.\nFix typo in datastream crypto ↵Sara Golemon2005-07-131-4/+12
| | | | startup
* MFB: Fixed memory leak on error in FTP wrapper.Ilia Alshanetsky2005-05-071-17/+25
|
* Check ftp user name for control characters.Ilia Alshanetsky2005-05-061-1/+14
|
* Fixed compiler warnings.Ilia Alshanetsky2005-02-271-1/+1
|
* removed unwanted comments, NEW_LIBC checks and NetWare specific stat ↵Anantha Kesari H Y2004-09-291-9/+14
| | | | structure population
* Fixed bug #29678 (opendir() with ftp:// wrapper segfaults if path does notIlia Alshanetsky2004-08-161-1/+8
| | | | | have trailing slash).
* Oh by the way, only use proxy mode for reading...Sara Golemon2004-07-241-6/+12
|
* Add proxy support to ftp using http wrapperSara Golemon2004-07-241-1/+7
|
* Add MTDM support to ftp_fopen_wrapper::url_stat()Sara Golemon2004-07-211-1/+47
|
* BugFix# 27982: Provide error message when trying to overwrite an existant ↵Sara Golemon2004-05-171-0/+1
| | | | file without overwrite context option.
* FTP dirstream_read should not leave whitespace/newlines on direntsSara Golemon2004-01-281-1/+9
|
* Changed prototypes to allow parsing of string literals and constant stringsArd Biesheuvel2004-01-251-1/+1
| | | | | Minor CS/WS
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Route mkdir()/rmdir() via wrapper ops.Sara Golemon2003-12-131-1/+147
| | | | | | Move current rmdir()/rmdir() code to plain_wrappers.c Implement mkdir()/rmdir() in ftp:// wrapper
* Route rename() via wrapper ops.Sara Golemon2003-12-121-1/+85
| | | | | | | Move current rename() code to main/streams/plain_wrapper.c Implement ftp/rename() Implement userstreams/rename()
* Fixed ZTS build.Ilia Alshanetsky2003-12-101-1/+1
|
* Fix bug #26574 (basename() doesn't work properly with multibyte characters)Moriyoshi Koizumi2003-12-101-3/+4
|
* Add in missing stat element and fix win32 buildSara Golemon2003-11-291-2/+6
|
* Finish off ftp://'s url_stat supportSara Golemon2003-11-291-8/+34
|
* Route php_stat() via streams/url_stat API (php_stream_stat_path).Sara Golemon2003-11-281-2/+2
| | | | | This enables fopen-wrappers support on stat() and related family calls.
* signed/unsigned compiler warning fixesHartmut Holzgraefe2003-09-261-1/+1
|
* kill warningsSascha Schumann2003-08-281-1/+1
|
* Bugfix#25239 Closing control stream while data stream is open violates ↵Sara Golemon2003-08-251-14/+0
| | | | RFC959 section 2.3
* Add resume_pos (resume position) context option for restarting file downloads.Sara Golemon2003-08-201-0/+14
|
* Plug leak in ftp_url_statSara Golemon2003-08-081-0/+1
|
* Fix compiler warningsSara Golemon2003-06-181-2/+2
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Fix warnings.Sebastian Bergmann2003-05-171-1/+1
|
* Implement unlink() method in ftp wrapper ops and do some general cleanup of ↵Sara Golemon2003-05-141-5/+65
| | | | other code
* Setup unlink() method in wrapper_ops structure, implement unlink in ↵Sara Golemon2003-05-141-1/+2
| | | | plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops
* basename() now binary safe, testcases addedHartmut Holzgraefe2003-05-051-3/+8
|
* Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they ↵Sara Golemon2003-04-261-8/+52
| | | | 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.
* No idea how that character dissapeared.Sara Golemon2003-04-241-1/+1
|
* Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and ↵Sara Golemon2003-04-241-8/+31
| | | | add append support to wrapper
* Abtract some ftp connection/negotiation steps out and add support for ↵Sara Golemon2003-04-241-108/+327
| | | | stream_opendir. This allows things like opendir('ftp://ftp.foo.com/path')
* Feature Request #7121.Sara Golemon2003-04-221-3/+20
| | | | | | Allow overwritting of files via ftp:// wrapper. Requires context option: $context['ftp']['overwrite'] != 0
* - Move https:// and ftps:// wrapper registration into the openssl module.Wez Furlong2003-02-271-1/+1
| | | | | | - Expose the http:// and ftp:// wrappers as PHPAPI - Remove unused variables
* Another big commit (tm).Wez Furlong2003-02-271-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixed bug #22402 (opening of ftp for read/write could fail due to invalidIlia Alshanetsky2003-02-251-1/+1
| | | | | | return code handling). Solution suggested by jan@jancm.org
* Win32 build improvementsZeev Suraski2003-02-171-1/+0
|
* A add much more useful select(2) implementation than is provided byWez Furlong2003-02-161-2/+2
| | | | | | | | | | | | | 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.
* Added 'x' mode for fopen() used on local files. This mode will create a newIlia Alshanetsky2003-02-131-1/+1
| | | | | file only if a file does not already exist (O_CREAT|O_EXCL).
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* tmp_line was possible uninitialised, resulting in crap error messages.Stefan Esser2002-11-251-0/+2
|
* Added a check to determine if the file can be retrieved or sent.Ilia Alshanetsky2002-11-251-8/+19
| | | | | | This check also prevents incorrect error reporting in the event the retrieval or the sending of the file cannot be accomplished.
* Fixed compile warning when compiling without openssl support.Ilia Alshanetsky2002-11-081-2/+6
|
* silenceMarcus Boerger2002-11-051-1/+3
| | | | | | | #when i get this code right tmp_line is not initialised, too. #Therefore php_stream_wrapper_log_error() will be called with #undefined value, will it?
* some broken ftp servers return 32bit port numbers.Stefan Esser2002-10-041-3/+3
|