Michael Paul
6acfc7a239
Add test for ftp functions with bogus resource
2017-09-12 07:12:35 +01:00
Michael Paul
2133b55efd
Refactor ftp_append test to clean temporary files
2017-09-12 07:10:22 +01:00
Kalle Sommer Nielsen
c34ba92782
Get rid of all these old package[2].xml files, most of these had no had a release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl
...
OCI, PDO_OCI and zip are left as they are actively developed and released there
2017-08-17 22:09:29 +02:00
Nikita Popov
60dc329949
Adjust ftp arginfos for optional mode
...
This was changed in 00cd671233
, but
the arginfos were not adjusted.
2017-08-02 20:57:49 +02:00
Andreas Treichel
27c225a5ad
Default ftp_append() mode to FTPTYPE_IMAGE
...
To be consistent with other ftp_*() functions in master.
2017-08-02 20:54:32 +02:00
Nikita Popov
902188e5e3
Merge branch 'PHP-7.2'
2017-08-02 20:53:32 +02:00
Andreas Treichel
29e4d4eee6
Add ftp_append to create a new file or append data to an existing file (RFC959)
2017-08-02 20:52:28 +02:00
Andreas Treichel
00cd671233
Make transfer mode optional, set default to binary
2017-07-25 09:09:12 +01:00
chance garcia
510230d3dc
Test ftp_ssl_connect() function : error conditions
...
test timeout warning
ensure connection fails with invalid hostname
test invalid parameter types
test exceeds expected number of parameters
2017-06-19 19:48:52 -04:00
Andreas Treichel
5b1300b6c9
ftp_mlsd(): Parse the MLSD response
2017-02-17 21:31:18 +01:00
Nikita Popov
267ab47366
Merge branch 'PHP-7.1'
2017-02-16 12:47:26 +01:00
Nikita Popov
f741f9b656
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-16 12:47:12 +01:00
Mitch Hagstrand
3b91ed112f
Make the ftp and stream tests more reliable.
...
The tests can sometimes fail because it chooses a passive port for ftp that
is already in use. This makes the test attempt multiple times to find a free
port.
2017-02-16 12:46:55 +01:00
Andreas Treichel
0103d1e3bc
FTP: implement MLSD for structured listing of directories, decribed at https://tools.ietf.org/html/rfc3659
2017-01-29 07:28:22 +00:00
Joe Watkins
04db4ad4e3
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix FTP tests for Travis CI.
2017-01-09 00:37:24 +00:00
Joe Watkins
3b8dc330bf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix FTP tests for Travis CI.
2017-01-09 00:36:57 +00:00
Mitch Hagstrand
47007455dc
Fix FTP tests for Travis CI.
...
This suppresses the errors from stream_socket_server() until
server.inc will not make anymore attempts.
2017-01-09 00:36:39 +00:00
Anatol Belski
97ac819c2b
Merge branch 'PHP-7.1'
...
* PHP-7.1:
move various places to the centralized OpenSSL setup routine
use the new API for opaque symbol in OpenSSL 1.1.x
implement basic config support for OpenSSL 1.1.x
2017-01-08 00:39:53 +01:00
Anatol Belski
43b92ed5a8
move various places to the centralized OpenSSL setup routine
2017-01-08 00:25:47 +01:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Nikita Popov
d18741d002
Fix ext/ftp
2016-11-22 19:06:59 +01:00
Kalle Sommer Nielsen
3ed0af3252
Kill some more strlen() calls and fix a possible missing NULL pointer check
...
Thanks to Anatol for review
2016-11-20 23:36:19 +01:00
Kalle Sommer Nielsen
53ca6fdaa4
Remove undefined variable if ext/ftp was built with SSL
2016-11-20 19:37:24 +01:00
Kalle Sommer Nielsen
d489569725
Fix typo
2016-11-20 19:36:48 +01:00
Kalle Sommer Nielsen
06767ffcbe
Shave off a strlen() call in ftp_mkdir()
2016-11-20 19:36:36 +01:00
Anatol Belski
9593663d22
restore erroneously removed part
2016-11-13 00:04:10 +01:00
Kalle Sommer Nielsen
2104bea5d7
Remove Netware support
...
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.
2016-11-12 11:20:01 +01:00
Nikita Popov
c361020f04
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 13:45:49 +02:00
Nikita Popov
2c12a5f0a8
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-30 13:44:59 +02:00
Ville Hukkamäki
af7828a20f
Test case for bug #72771
2016-08-30 13:44:34 +02:00
Nikita Popov
6ab9b531bc
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-13 21:42:51 +02:00
Nikita Popov
98787d9002
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-13 21:41:00 +02:00
Benedict Singer
dfadc5a427
Bug 70195
...
Many FTP-S servers now require FTP clients to re-use the SSL session
from the control connection on the data connection, to prove that the
same entity controls both connections. This patch updates PHP's FTP-S
client code to allow that possibility.
2016-08-13 21:35:03 +02:00
Nikita Popov
be31515cc6
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-05 23:10:12 +02:00
Nikita Popov
a2a2ea18fe
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
ext/standard/ftp_fopen_wrapper.c
2016-08-05 23:09:30 +02:00
Ville Hukkamaki
65056e9d6c
Fix #72764
...
Negotiate data channel encryption after NLST command.
This is to prevent issues with IIS and ProFTPD.
2016-08-05 22:56:54 +02:00
Nikita Popov
fab1815192
Merge branch 'PHP-7.0' into PHP-7.1
2016-07-27 15:59:23 +02:00
Nikita Popov
0d2c4f822c
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
ext/standard/ftp_fopen_wrapper.c
2016-07-27 15:58:06 +02:00
Ville Hukkamäki
cce457c68c
Fix bug #72667
...
Open data stream after receiving PASV reply, before sending the
main request.
Included test cases for opendir() with ftp:// and ftps:// wrappers.
Test cases re-use ext/ftp/tests/server.inc
Conflicts:
ext/standard/ftp_fopen_wrapper.c
2016-07-27 15:55:47 +02:00
Dmitry Stogov
323b2733f6
Fixed compilation warnings
2016-06-22 00:40:50 +03:00
Dmitry Stogov
1616038698
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
...
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.
2016-06-21 16:00:37 +03:00
Anatol Belski
caae1191da
allow static build of ext/ftp
2016-01-08 08:07:15 +01:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Avi Brender
90a26a4844
Implement FR #55651 (Option to ignore the returned FTP PASV address)
2015-12-15 11:07:40 +02:00
Avi Brender
71e468e141
Implement FR #55651 (Option to ignore the returned FTP PASV address)
2015-12-15 11:51:32 +02:00
Kalle Sommer Nielsen
db22946b25
Remove these old references to the DSP files we don't use anymore
2015-06-22 13:29:42 +02:00
Stanislav Malyshev
e0fb8c8b7f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
improve fix for Bug #69545
2015-05-31 17:30:41 -07:00