mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-03 14:17:35 +00:00
SFTP::get can also return true
This commit is contained in:
parent
2e963c0002
commit
8b13462ee8
@ -2282,7 +2282,7 @@ class SFTP extends SSH2
|
|||||||
* @param int $length
|
* @param int $length
|
||||||
* @param callable|null $progressCallback
|
* @param callable|null $progressCallback
|
||||||
* @throws \UnexpectedValueException on receipt of unexpected packets
|
* @throws \UnexpectedValueException on receipt of unexpected packets
|
||||||
* @return string|false
|
* @return string|bool
|
||||||
*/
|
*/
|
||||||
public function get($remote_file, $local_file = false, $offset = 0, $length = -1, $progressCallback = null)
|
public function get($remote_file, $local_file = false, $offset = 0, $length = -1, $progressCallback = null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user