dropInEvents create extra folders from a device using FTP upload

dev
Moe 2025-01-18 20:00:48 -08:00
parent b4f8408824
commit f2032c80d3
1 changed files with 3 additions and 1 deletions

View File

@ -251,7 +251,9 @@ module.exports = function(s,config,lang,app,io){
var firstDroppedPart = pathPieces[2]
var monitorEventDropDir = s.dir.dropInEvents + ke + '/' + mid + '/'
var deleteKey = monitorEventDropDir + firstDroppedPart
onFileOrFolderFound(monitorEventDropDir + firstDroppedPart,deleteKey,Object.assign({},s.group[ke].rawMonitorConfigurations[mid]))
fs.mkdir(pathPieces.join('/'), { recursive: true }, (err) => {
onFileOrFolderFound(monitorEventDropDir + firstDroppedPart,deleteKey,Object.assign({},s.group[ke].rawMonitorConfigurations[mid]))
})
})
resolve({root: s.dir.dropInEvents + user.ke})
}else{