mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
SFTP: add a few comments
This commit is contained in:
parent
05e832d14f
commit
725a2e0b39
@ -1648,6 +1648,7 @@ class Net_SFTP extends Net_SSH2 {
|
||||
}
|
||||
break;
|
||||
case NET_SFTP_STATUS:
|
||||
// could, in theory, return false if !strlen($content) but we'll hold off for the time being
|
||||
$this->_logError($response);
|
||||
break 2;
|
||||
default:
|
||||
@ -1691,6 +1692,7 @@ class Net_SFTP extends Net_SSH2 {
|
||||
return false;
|
||||
}
|
||||
|
||||
// if $content isn't set that means a file was written to
|
||||
if (isset($content)) {
|
||||
return $content;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user