Error while copying pdf file

asked 2016-03-15 00:35:18 -0600

yoga gravatar image

I am using file resource to copy folder from master to agent . That folder having some pdf files but one of the pdfs not transfer to agent.Getting below error.

   Error: Could not set 'file' on ensure: invalid byte sequence in US-ASCII
   Error: Could not set 'file' on ensure: invalid byte sequence in US-ASCII
   Wrapped exception:
   invalid byte sequence in US-ASCII
   Error: /Stage[main]/Platform::Testpdf/File[/opt/pdf/filename.pdf]/ensure: change from absent to file failed: Could not set 'file' on ensure: invalid byte sequence in US-ASCII
edit retag flag offensive close merge delete

Comments

We need to see your code, thanks.

Alex Harvey gravatar imageAlex Harvey ( 2016-03-18 13:28:45 -0600 )edit

Have you googled at all on this error message?

Alex Harvey gravatar imageAlex Harvey ( 2016-03-18 13:30:24 -0600 )edit