/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


File upload as New Dependency is always corrupted

03/01/2019 362 views

Hi there,

I recently tried to create some simple scripts to run in KACE. After uploading the executable file as new dependency, I ran the script with simple switches; however, the file that is uploaded to $(KACE_DEPENDENCY_DIR) is always corrupted. I found this because I can run the file on the computer to install but when I try to run the file in kbots_cache\package\kbots\xxx, the file always errors out. It seems the file is corrupted during the upload to KACE or download to the local PC.

Have anyone had this issue before?


Cheers, Alan

4 Comments   [ + ] Show comments

Comments

  • Did you zip the file before you uploaded it. If not try that. Kace will automatically unzip it in the dependency directory. No need to modify your script to unzip.
  • Hey SMal,
    Thanks for the advise. I tried to zip the files too, but it didn't work either. I am suspecting that after we upgrade KACE to 8.1.52 (From 7.2.10), it messed something up. One thing I noticed is that kbots_cache default folder is moved. It used to be in ProgramData\Dell\Kace\... and now is in ProgramData\Quest\.... I wonder if I need to grant permission to the folder so when file is downloaded to the folder, it gets downloaded properly. Although, I have no idea what I need to do to set it correctly.

    Cheers, Alan
    • the needed rights should be preset by the client install. What is the file extension that is getting corrupted?
  • if you drag and drop the file from the cache to the desktop does it work? Also try to disable your AV temporarily to see if it is the problem
  • Are you using Firefox?

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ