We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2062e8d commit e92da83Copy full SHA for e92da83
1 file changed
src/task/upload_smb.py
@@ -22,6 +22,8 @@ def Init(self, nasInfo):
22
self.port = nasInfo.port
23
self.password = nasInfo.passwd
24
self.username = nasInfo.user
25
+ self.path = nasInfo.path
26
+
27
datas = nasInfo.path.strip("/").split("/")
28
29
self.service_name = datas[0]
@@ -35,6 +37,7 @@ def Connect(self):
35
37
result = self.client.connect(self.address, self.port, timeout=5)
36
38
else:
39
result = self.client.connect(self.address, timeout=5)
40
+ self.client.listPath(self.service_name, "/")
41
self.isLink = True
42
if not result:
43
return Str.CvAuthError
0 commit comments