Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jason D 75 posts 247 karma points
    Mar 31, 2023 @ 21:23
    Jason D
    0

    Media Item - Zipped File - Doesn't Replace

    We follow the "remove file" and then re-upload process when we need to replace a file, but keep the URL intact. This works great (after some cache busting happens).

    However, I have a "software" UmbracoFile type, that one of the properties is a File Upload, and then some other data (version, date, etc.). It works great unless I need to upload a Zip file as the file. It doesn't replace (with same name), and only works when I change the Zip file name, which obviously doesn't keep the URL to the media intact.

    Is there something I'm missing? Do I need to create a custom function in the MediaService to replace zip files?

    Thanks, Jason

Please Sign in or register to post replies

Write your reply to:

Draft