Mailinglisten-Archive |
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01BF150B.56982BA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Liste
De folgende Code
$user=3Drawurlencode('www.abcdefg.de');
$psw=3Drawurlencode('foo-(bar)-'); <- enthaelt sonderzeichen
$fp=3Dfopen("ftp://login:$user:$psw_(at)_www.abcdefg.de/datei.txt","w");
liefert immer Fehler:"Transport endpoint is not connected".
oder bei
$fp=3Dfopen("ftp://$user:$psw_(at)_www.abcdefg.de/datei.txt","w");
wie eigentlich im Manual beschrieben, Totenstille.
$user enthaelt nur punkte als sonderzeichen, hingegen $psw die =
verschiedensten.
Mit einem normalen FTP-Programm erhalte ich eine -passive- Verbindung zu =
'www.abcdefg.de'
mit $user als username und $psw als Passwort.
Was ist falch in der Syntax oder gibt es anderes Problem???
Danke im vorraus
------=_NextPart_000_0009_01BF150B.56982BA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi Liste</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>De folgende Code</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>$user=3Drawurlencode('www.abcdefg.de');</FONT></DIV>
<DIV><FONT size=3D2>$psw=3Drawurlencode('foo-(bar)-'); <- =
enthaelt=20
sonderzeichen</FONT></DIV>
<DIV><FONT=20
size=3D2>$fp=3Dfopen("ftp://login:$user:$psw_(at)_www.abcdefg.de/datei.txt","w=
");</FONT></DIV>
<DIV><FONT size=3D2>liefert immer Fehler:"Transport endpoint is not=20
connected".</FONT></DIV>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>oder bei</FONT></DIV>
<DIV><FONT size=3D2>
<DIV><FONT=20
size=3D2>$fp=3Dfopen("ftp://$user:$psw_(at)_www.abcdefg.de/datei.txt","w");</F=
ONT></DIV></FONT></DIV></FONT></DIV>
<DIV><FONT size=3D2>wie eigentlich im Manual beschrieben,=20
Totenstille.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>$user enthaelt nur punkte als sonderzeichen, =
hingegen $psw die=20
verschiedensten.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Mit einem normalen FTP-Programm erhalte ich eine =
-passive-=20
Verbindung zu '<A =
href=3D"http://www.abcdefg.de'">www.abcdefg.de'</A></FONT></DIV>
<DIV><FONT size=3D2>mit $user als username und $psw als =
Passwort.</FONT></DIV>
<DIV><FONT size=3D2>Was ist falch in der Syntax oder gibt es anderes=20
Problem???</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Danke im vorraus</FONT></DIV></BODY></HTML>
------=_NextPart_000_0009_01BF150B.56982BA0--
php::bar PHP Wiki - Listenarchive