#40378 [NEW]: add ftp_append() function

From: Date: Wed, 07 Feb 2007 05:19:40 +0000
Subject: #40378 [NEW]: add ftp_append() function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108520@lists.php.net to get a copy of this message
From: randy at greatplainsmfg dot com Operating system: Any PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug description: add ftp_append() function 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 bug report at http://bugs.php.net/?id=40378&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40378&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40378&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40378&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40378&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40378&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40378&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40378&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40378&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40378&r=support Expected behavior: http://bugs.php.net/fix.php?id=40378&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40378&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40378&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40378&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40378&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40378&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40378&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40378&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40378&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40378&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40378&r=mysqlcfg

« previous php.bugs (#108520) next »