Skip to content

Commit

Permalink
rules put
Browse files Browse the repository at this point in the history
  • Loading branch information
timurhai committed Aug 8, 2014
1 parent 52dbd25 commit a4cb109
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rules/filesutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 + '"';
Expand All @@ -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();
}


Expand Down Expand Up @@ -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';

Expand Down

0 comments on commit a4cb109

Please sign in to comment.