note 110230 added to function.ssh2-scp-recv

From: Date: Wed, 03 Oct 2012 12:47:35 +0000
Subject: note 110230 added to function.ssh2-scp-recv
Groups: php.notes 
Request: Send a blank email to php-notes+get-191115@lists.php.net to get a copy of this message
Transferred files can be truncated if you do not call ssh2_exec($connection,'exit'). ssh2_scp_send will return true even if the file did not completely transfer. eg. ssh2_scp_send($connection, $infile, $remotefile, 0644); ssh2_exec($connection, 'exit'); // exit the ssh2 connection ---- Server IP: 69.147.83.199 Probable Submitter: 31.24.216.150 ---- Manual Page -- http://www.php.net/manual/en/function.ssh2-scp-recv.php Edit -- https://master.php.net/note/edit/110230 Del: integrated -- https://master.php.net/note/delete/110230/integrated Del: useless -- https://master.php.net/note/delete/110230/useless Del: bad code -- https://master.php.net/note/delete/110230/bad+code Del: spam -- https://master.php.net/note/delete/110230/spam Del: non-english -- https://master.php.net/note/delete/110230/non-english Del: in docs -- https://master.php.net/note/delete/110230/in+docs Del: other reasons-- https://master.php.net/note/delete/110230 Reject -- https://master.php.net/note/reject/110230 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191115) next »