acceptance/lib/pxp-agent/bolt_pxp_module_helper.rb
# Starts a download file execution.
# Block is executed on the "response_dataset" object from do_module_action.
Starts a download file execution.
Block is executed on the "response_dataset" object from do_module_action.
Starts a download file execution . Block is executed on the " response_dataset " object from do_module_action .
def download_file(broker, agent, files, **kwargs, &block)
  params = { files: files }
  target = ["pcp://#{agent}/agent"]
  do_module_action(broker, target, 'file', 'download', params, **kwargs, &block)
end
def download_file ( broker , agent , files , ** kwargs , & block ) params = { files : files } target = [ "pcp://#{agent}/agent" ] do_module_action ( broker , target , 'file' , 'download' , params , ** kwargs , & block ) end
Starts a download file execution.
Starts a download file execution .
broker
<not_specific>
agent
<not_specific>
files
<not_specific>
kwargs
<not_specific>
block
<not_specific>