Unknown error (NT_STATUS_PATH_NOT_COVERED) #65

Open
opened 2018-03-28 23:34:53 +02:00 by realdigger · 5 comments
realdigger commented 2018-03-28 23:34:53 +02:00 (Migrated from github.com)

I got this error very often, but sometimes code works without error
Fatal error: Uncaught Icewind\SMB\Exception\Exception: Unknown error (NT_STATUS_PATH_NOT_COVERED) for Test/file.xls in /home/.../vendor/icewind/smb/src/Exception/Exception.php:17

My code

$smb = new Server($this->config['source_address'], $this->config['source_login'], $this->config['source_password']);
$share = $smb->getShare($this->config['source_share']);
$share->get($this->config['source_path'] . '/' . $this->config['source_file'], $file);
I got this error very often, but sometimes code works without error Fatal error: Uncaught Icewind\SMB\Exception\Exception: Unknown error (NT_STATUS_PATH_NOT_COVERED) for Test/file.xls in /home/.../vendor/icewind/smb/src/Exception/Exception.php:17 My code ``` $smb = new Server($this->config['source_address'], $this->config['source_login'], $this->config['source_password']); $share = $smb->getShare($this->config['source_share']); $share->get($this->config['source_path'] . '/' . $this->config['source_file'], $file); ```
upmferraz commented 2018-11-20 19:32:45 +01:00 (Migrated from github.com)

I think this is probably related with the same issue that is connected to smbclient
https://github.com/nextcloud/server/issues/12217

I think this is probably related with the same issue that is connected to smbclient https://github.com/nextcloud/server/issues/12217
icewind1991 commented 2018-11-26 12:30:39 +01:00 (Migrated from github.com)

Can you access that file using smbclient manually?

Can you access that file using `smbclient` manually?
upmferraz commented 2018-11-26 12:36:07 +01:00 (Migrated from github.com)

Hi!
I can access but can't use the rename command that is deprecated https://github.com/TalAloni/SMBLibrary/issues/11

Is there a way to change the behaviour to address to the renaming command for the new protocol version?

Hi! I can access but can't use the rename command that is deprecated https://github.com/TalAloni/SMBLibrary/issues/11 Is there a way to change the behaviour to address to the renaming command for the new protocol version?
icewind1991 commented 2018-11-27 11:52:09 +01:00 (Migrated from github.com)

any difference in protocol version is handled by (lib)smbclient, if there is an issue with that it should be raised there

any difference in protocol version is handled by (lib)smbclient, if there is an issue with that it should be raised there
upmferraz commented 2018-12-12 12:30:13 +01:00 (Migrated from github.com)

Hi @icewind1991 thank you for your reply
It's an issue that didn't happened in the previous versions that were included in Nextcloud (version 10 pex), the smbclient version is the same, I think you're right, but If it where possible to make the rename by removing and uploading the new version (without invoking the rename command) I think this kind of issues would probably end.

Hi @icewind1991 thank you for your reply It's an issue that didn't happened in the previous versions that were included in Nextcloud (version 10 pex), the smbclient version is the same, I think you're right, but If it where possible to make the rename by removing and uploading the new version (without invoking the rename command) I think this kind of issues would probably end.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
icewind/SMB#65
No description provided.