mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-27 04:46:26 +01:00
mode[0] of 'c' is not supposed to truncate.
This commit is contained in:
parent
f0957021a1
commit
9e07fb704b
@ -288,7 +288,6 @@ class Net_SFTP_Stream
|
||||
case 'x':
|
||||
return false;
|
||||
case 'w':
|
||||
case 'c':
|
||||
$this->sftp->truncate($path, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user