Uploading HTML files to an Asset

I am building an HTML file in a script to upload a report to the Syncro asset.

When I upload an HTML file to Syncro and try to access it from the asset, it seems to be not the same file I uploaded. If I change the file extension of the uploaded file to .TXT, it downloads fine. I can then rename it .html and it renders properly.

Anyone else experience this? Is this a bug? My other thoughts is this may be related to security software on my computer?

Never done this, but some things to keep in mind: CSS, Java, Images, etc will need to be off site reachable. Any issues with that and it can cause it to look funky pretty quickly.

File Upload Restrictions:

  • Accepted file size is less than 20MB.
  • 15 Files can be uploaded on a Ticket
  • Confirmed working File types:
    • zip,
    • csv,
    • xlsx,
    • txt,
    • doc,
    • rtf,
    • pdf,
    • jpeg,
    • png,
    • HEIC,
    • htm,
    • MP4,
    • json,
    • exe,
    • msi,
    • dmp.

Build it, zip it, upload it. That’s the best workaround for HTML file uploads I’ve been able to find.