|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-12-30 11:42 UTC] cweiske@php.net
[2010-10-01 03:21 UTC] didar dot hossain at gmail dot com
[2012-06-14 21:20 UTC] langemeijer@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: langemeijer
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Description: ------------ When trying to move a file to a remote server which doesn't run opensshd but lshd i fails. Reproduce code: --------------- $connection = ssh2_connect('server.com', 22); if(!ssh2_auth_password ($connection, "user", "password")) { print("[picture] error logging in"); exit(1); } ssh2_scp_send($connection, "/tmp/t.php", "/tmp/t.php", 0644); Expected result: ---------------- that the file is transfered Actual result: -------------- Warning: ssh2_scp_send(): Failure creating remote file in /tmp/t.php on line 8 (line 8 is ssh2_scp_send line)