質問編集履歴
1
誤りを変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
var oldpath = files.filetoupload.path;
|
32
32
|
|
33
|
-
var newpath = 'C:/Users/motegiyuuta
|
33
|
+
var newpath = 'C:/Users/motegiyuuta/' + files.filetoupload.name;
|
34
34
|
|
35
35
|
fs.rename(oldpath, newpath, function (err) {
|
36
36
|
|