You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above is the code snippet I tried to access files from an smb server. I verified all the credentials, as well as the IP address (of the path). However it is showing me the following error:
urllib.error.URLError: <urlopen error smb error: Failed to retrieve xxxxxxxxxxxx : Unable to connect to shared device
Any fixes? Thanks in advance.
The text was updated successfully, but these errors were encountered:
import urllib
from smb.SMBHandler import SMBHandler
opener = urllib.request.build_opener(SMBHandler)
fh = opener.open('smb://{user}:{pwd}@{path}'.format(user='xxxx', pwd='xxxx', path=path))
Above is the code snippet I tried to access files from an smb server. I verified all the credentials, as well as the IP address (of the path). However it is showing me the following error:
urllib.error.URLError: <urlopen error smb error: Failed to retrieve xxxxxxxxxxxx : Unable to connect to shared device
Any fixes? Thanks in advance.
The text was updated successfully, but these errors were encountered: