summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Fixed incorrrecr zval_dtor() usage to replace value of argument passed by ↵Dmitry Stogov2018-07-051-1/+1
| | | | reference, that may lead to memory leaks.
* Merge branch 'PHP-7.2'Christoph M. Becker2018-02-231-1/+1
|\ | | | | | | | | * PHP-7.2: Fix some arginfos
| * Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-02-231-1/+1
| |\ | | | | | | | | | | | | * PHP-7.1: Fix some arginfos
| | * Fix some arginfosGabriel Caruso2018-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * all arguments for ftp_pasv are required * $varname for getenv function isn't required anymore * fsockopen and pfsockopen only require $hostname * strtok can work with only one parameter * strpbrk needs two parameters to work * required parameters and add some parameters in openssl_* functions
| | * year++Xinchen Hui2018-01-021-1/+1
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
| * | year++Xinchen Hui2018-01-021-1/+1
| | |
* | | Adjust manual zpp-like error message implementationsNikita Popov2018-02-041-3/+3
| | | | | | | | | | | | This should also use int/bool.
* | | year++Xinchen Hui2018-01-021-1/+1
| | |
* | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | |
* | | Adjust ftp arginfos for optional modeNikita Popov2017-08-021-10/+10
| | | | | | | | | | | | | | | This was changed in 00cd671233e8181746ff2853365fb2362dd178e8, but the arginfos were not adjusted.
* | | Default ftp_append() mode to FTPTYPE_IMAGEAndreas Treichel2017-08-021-3/+3
| | | | | | | | | | | | To be consistent with other ftp_*() functions in master.
* | | Merge branch 'PHP-7.2'Nikita Popov2017-08-021-0/+43
|\ \ \ | |/ /
| * | Add ftp_append to create a new file or append data to an existing file (RFC959)Andreas Treichel2017-08-021-0/+43
| | |
* | | Make transfer mode optional, set default to binaryAndreas Treichel2017-07-251-24/+24
|/ /
* | ftp_mlsd(): Parse the MLSD responseAndreas Treichel2017-02-171-2/+9
| |
* | FTP: implement MLSD for structured listing of directories, decribed at ↵Andreas Treichel2017-01-291-0/+36
| | | | | | | | https://tools.ietf.org/html/rfc3659
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
| |
* | Kill some more strlen() calls and fix a possible missing NULL pointer checkKalle Sommer Nielsen2016-11-201-24/+24
| | | | | | | | Thanks to Anatol for review
* | Fix typoKalle Sommer Nielsen2016-11-201-1/+1
| |
* | Shave off a strlen() call in ftp_mkdir()Kalle Sommer Nielsen2016-11-201-1/+1
| |
* | Remove Netware supportKalle Sommer Nielsen2016-11-121-4/+0
|/ | | | If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
* Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-2/+2
| | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | Implement FR #55651 (Option to ignore the returned FTP PASV address)Avi Brender2015-12-151-0/+15
|\ \ | |/
| * Implement FR #55651 (Option to ignore the returned FTP PASV address)Avi Brender2015-12-151-0/+15
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | cleaning up the version macrosAnatol Belski2015-03-231-1/+1
| |
* | don't depend on ext/openssl for ftp ssl supportAnatol Belski2015-03-111-12/+9
| | | | | | | | | | instead just link against the openssl and init manually, that's more flexible
* | enable ftps for shared ext/ftpAnatol Belski2015-03-111-7/+26
| |
* | Ported ftpXinchen Hui2015-02-021-36/+98
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-81/+81
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | Fix ftp_login()Nikita Popov2014-09-031-1/+1
| |
* | fixed remaining 's' args for ftpAnatol Belski2014-08-271-10/+12
| |
* | first show to make 's' work with size_tAnatol Belski2014-08-271-14/+14
| |
* | master renames phase 1Anatol Belski2014-08-251-58/+58
| |
* | fixes to %pd format usageAnatol Belski2014-08-241-2/+2
| |
* | ported ext/ftpAnatol Belski2014-08-191-32/+32
| |
* | basic macro replacements, all at onceAnatol Belski2014-08-191-26/+26
| |
* | Use reference counting instead of zval duplicationDmitry Stogov2014-06-051-2/+1
| |
* | Fixed safe resource close.Dmitry Stogov2014-05-131-1/+1
| | | | | | | | | | It must not de deleted (just closed), because it still may be referenced from zval(s). This fixes few ext/ftp test memory failures detected with valgrind.
* | Fixed incorrect boolean IS_FALSE/IS_TRUE handlingDmitry Stogov2014-05-061-1/+1
| |
* | Fixed memory leaksDmitry Stogov2014-05-061-4/+6
| |
* | fix ftp for ngkrakjoe2014-05-061-42/+42
| |
* | Cleanup (1-st round)Dmitry Stogov2014-04-151-2/+2
|/