diff --git a/phpseclib/Net/SFTP/Stream.php b/phpseclib/Net/SFTP/Stream.php index d209b092..3d583fa9 100644 --- a/phpseclib/Net/SFTP/Stream.php +++ b/phpseclib/Net/SFTP/Stream.php @@ -288,7 +288,6 @@ class Net_SFTP_Stream case 'x': return false; case 'w': - case 'c': $this->sftp->truncate($path, 0); } }