note 121929 added to ref.ssh2

From: Date: Tue, 28 Nov 2017 12:36:30 +0000
Subject: note 121929 added to ref.ssh2
Groups: php.notes 
Request: Send a blank email to php-notes+get-209236@lists.php.net to get a copy of this message
Getting strange "Unable to open ssh2.sftp://Resource id #3/example.txt" errors? This is a bug in PHP > 5.6.27. Use intval() as a workaround to make ssh2 work again: $sftp = ssh2_sftp($connection); fopen("ssh2.sftp://" . intval($sftp) . "/example.txt", 'r'); https://bugs.php.net/bug.php?id=73597 ---- Server IP: 208.43.231.9 Probable Submitter: 91.199.241.6 ---- Manual Page -- http://php.net/manual/en/ref.ssh2.php Edit -- https://master.php.net/note/edit/121929 Del: integrated -- https://master.php.net/note/delete/121929/integrated Del: useless -- https://master.php.net/note/delete/121929/useless Del: bad code -- https://master.php.net/note/delete/121929/bad+code Del: spam -- https://master.php.net/note/delete/121929/spam Del: non-english -- https://master.php.net/note/delete/121929/non-english Del: in docs -- https://master.php.net/note/delete/121929/in+docs Del: other reasons-- https://master.php.net/note/delete/121929 Reject -- https://master.php.net/note/reject/121929 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#209236) next »