pass file to headlessclient

hi!
i have a file that should be read by a headlessclient method.
what am thinking of 2 options

  1. call streamfiletoserver in smart client the readFile in headless; or
  2. readFile and send the file contents as parameter in headless?

or is there a better approach?

thanks and regards,
rogel

Hi Rogel, the first option is the best.
File uploading can happen in the background. Use the callback function to execute the HC

mboegem:
Hi Rogel, the first option is the best.
File uploading can happen in the background. Use the callback function to execute the HC

What if it’s the other way around? Can the headlessclient write files to the smart clients folders?

pogie.nocedo:
What if it’s the other way around? Can the headlessclient write files to the smart clients folders?

Nope, headless client exists on the server not locally.

What’s your challenge?