質問編集履歴
4
文面修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -146,7 +146,7 @@
|
|
146
146
|
|
147
147
|
```
|
148
148
|
|
149
|
-
connection.storeFile(serverFolder, sendFile, file)
|
149
|
+
connection.storeFile(serverFolder, sendFile, file)
|
150
150
|
|
151
151
|
|
152
152
|
|
3
改行修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,7 +84,7 @@
|
|
84
84
|
|
85
85
|
with open(sendFile, "rb") as file:
|
86
86
|
|
87
|
-
connection.storeFile(serverFolder, sendFile, file)
|
87
|
+
connection.storeFile(serverFolder, sendFile, file)
|
88
88
|
|
89
89
|
|
90
90
|
|
@@ -124,7 +124,9 @@
|
|
124
124
|
|
125
125
|
connection = SMBConnection(user,password,platform.uname().node, "YYY")
|
126
126
|
|
127
|
-
connection.connect(ipAdress, 139)
|
127
|
+
connection.connect(ipAdress, 139)
|
128
|
+
|
129
|
+
#サーバーにデータを送信
|
128
130
|
|
129
131
|
|
130
132
|
|
2
コードの改行を修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,7 +38,9 @@
|
|
38
38
|
|
39
39
|
connection = SMBConnection(user,password,"myClie nt","HostServer")
|
40
40
|
|
41
|
-
connection.connect(ipAdress, 139)
|
41
|
+
connection.connect(ipAdress, 139)
|
42
|
+
|
43
|
+
#サーバーにデータを送信
|
42
44
|
|
43
45
|
os.chdir(sendFileFolder) #送信データフォルダに移動
|
44
46
|
|
@@ -46,7 +48,9 @@
|
|
46
48
|
|
47
49
|
with open(sendFile, "rb") as file:
|
48
50
|
|
49
|
-
connection.storeFile(serverFolder, sendFile, file)
|
51
|
+
connection.storeFile(serverFolder, sendFile, file)
|
52
|
+
|
53
|
+
#サーバーのデータを受信
|
50
54
|
|
51
55
|
os.chdir(reciveFileFolder) #受信データフォルダに移動
|
52
56
|
|
1
パスの表記を修正
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|