From a4cb10954bb8a00a103a25d5de9587c0bb8cdac4 Mon Sep 17 00:00:00 2001 From: timurhai Date: Fri, 8 Aug 2014 19:56:40 +0400 Subject: [PATCH] rules put --- rules/filesutils.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rules/filesutils.js b/rules/filesutils.js index fedc39e99..810afea49 100644 --- a/rules/filesutils.js +++ b/rules/filesutils.js @@ -116,7 +116,8 @@ function fu_PutDo( i_wnd) else { job.name = 'PUT ' + name; - cmd += ' -d "' + cgru_PM('/' + RULES.root + params.dest, true) + '"'; + //cmd += ' -d "' + cgru_PM('/' + RULES.root + params.dest, true) + '"'; + cmd += ' -d "' + params.dest + '"'; cmd += ' -n "' + name + '"'; if( RULES.put.post_delete ) job.command_post = 'rm -rf "' + source + '"'; @@ -131,7 +132,7 @@ function fu_PutDo( i_wnd) //console.log( task.command); //console.log( JSON.stringify( params)); //console.log( JSON.stringify( job)); -// i_wnd.destroy(); + i_wnd.destroy(); } @@ -325,7 +326,8 @@ function fu_PutMultiProcessGUI( i_wnd, i_test) if( params.pass.length ) cmd += ' --ftppass ' + params.pass; } else - cmd += ' -d "' + cgru_PM('/' + RULES.root + params.dest, true) + '"'; + cmd += ' -d "' + params.dest + '"'; + //cmd += ' -d "' + cgru_PM('/' + RULES.root + params.dest, true) + '"'; if( i_test ) cmd += ' -t';