ssh2 ssh2_connect für windows

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

ssh2 ssh2_connect für windows

Postby tipTop » 20. October 2009 21:45

Hallo Leute,

Ich versuche eine SFTP verbindung aufzubauen, zweck Datei auf dem Server übertargen.

Leider bekomme ich den Fehler:
Fatal error: Call to undefined function ssh2_connect()

Quellcode:

$connection = ssh2_connect($host, $port);
if (!$connection)
throw new Exception("Die Verbindung konnte nicht hergestellt werden. ");

$auth_methods = ssh2_auth_none($connection, $username);
if (in_array('password', $auth_methods)) {
if (! @ssh2_auth_password($connection, $username, $password)) {
throw new Exception("Fehler bei der Anmeldung");
}
else{.....

Beste Grüsse
Lubb
tipTop
 
Posts: 1
Joined: 20. October 2009 21:39

Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 60 guests