Req #40378 [Opn->Csd]: add ftp_append() function
| From: | nikic@php.net | Date: | Tue, 19 Jun 2018 20:29:03 +0000 |
| Subject: | Req #40378 [Opn->Csd]: add ftp_append() function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215799@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=40378&edit=1
ID: 40378
Updated by: nikic@php.net
Reported by: randy at greatplainsmfg dot com
Summary: add ftp_append() function
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: FTP related
Operating System: *
PHP Version: 5.2.0
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
ftp_append() is available since PHP 7.2, so this is (finally) resolved.
Previous Comments:
------------------------------------------------------------------------
[2007-02-07 05:19:40] randy at greatplainsmfg dot com
Description:
------------
I need an ftp_append() function. The remote system I am trying
to ftp to (an IBM AS400) works good with ftp_put() and ftp_get(). Because there is no ftp_append() I
have tried the
following:
fopen("ftp://name:passwd@remote_as400/path/filename",
"a");
This fails on the AS400 even though command line ftp via
a terminal works with append. I think the problem is that
the fopen() is passing "/path/filename" to the AS400 when
it (the AS400) will only accept "path/filename". Notice the
lack of the leading '/'
And many thanks for a most excellent software package!!!
Randy Jones
Systems Administrator
Great Plains Mfg., Inc.
1525 E North St
Salina, KS USA 67401
email: randy@greatplainsmfg.com
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=40378&edit=1