mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
if resource is opened with "a" append() will fail with code (6)
This commit is contained in:
parent
e30d3afd08
commit
f3e9e1e57a
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ class NativeShare extends AbstractShare {
|
|||
*/
|
||||
public function append($source) {
|
||||
$url = $this->buildUrl($source);
|
||||
$handle = $this->getState()->open($url, "a");
|
||||
$handle = $this->getState()->open($url, "a+");
|
||||
return NativeWriteStream::wrap($this->getState(), $handle, "a", $url);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue