Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.php > #4357

Re: ftp_put kaputt

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups de.comp.lang.php
Subject Re: ftp_put kaputt
Date 2018-04-11 15:05 +0200
Organization solani.org
Message-ID <pal16o$9ri$1@solani.org> (permalink)
References <1t5acdfc14i6151n3e8%sfroehli@Froehlich.Priv.at>

Show all headers | View raw


Am 11.04.2018 um 14:45 schrieb Stefan Froehlich:

> Gegeben ist ein ftps-Server und (grob) folgendes Programm:
> 
> #v+
> $ftpid = ftp_ssl_connect($this->host, $this->port, 15);
> ftp_login($ftpid, $this->login, $this->password);
> ftp_chdir($ftpid, trim($this->directory));
> ftp_pasv($ftpid, true);
> ftp_put($ftpid, $item->getFullname(), $file, $mode);
> ftp_close($ftpid);
> #v-
> 
> Nun schlägt ftp_put() bei einem konkreten Host fehl, als Warnung
> erhalte ich lediglich:
> 
> "ftp_put(): PORT command successful" ohne ftp_pasv() bzw.
> "ftp_put(): TYPE is now 8-bit binary" mit ftp_pasv()
> 
> Aber warum? Andere haben damit offenbar kein Problem, und umgekehrt
> kann ich mich auf meinen eigenen ftps-Server (wenngleich proftpd
> anstatt pure-ftpd) auch erfolgreich verbinden. Und mit einem
> cli-Client funktioniert es ebenfalls...

Siehe <https://bugs.php.net/68854>.

-- 
Christoph M. Becker

Back to de.comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

ftp_put kaputt Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-04-11 12:45 +0000
  Re: ftp_put kaputt "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-04-11 15:05 +0200
    Re: ftp_put kaputt Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-04-11 16:43 +0000
      Re: ftp_put kaputt Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-04-11 22:46 +0200
        Re: ftp_put kaputt "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-04-11 23:17 +0200
        Re: ftp_put kaputt Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-04-11 21:26 +0000
          Re: ftp_put kaputt "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-04-12 00:27 +0200
            Re: ftp_put kaputt Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-04-16 08:51 +0000
              Re: ftp_put kaputt Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-08-24 21:12 +0000

csiph-web