Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › deleting a DownloadablePackage

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7106

    Michael

    Hi

    I gather void DownloadablePackage::remove() should delete a package & its extracted contents. On Windows, I don’t find this to happen.

    I’m trying the following as a test

        DownloadablePackage {
          id: package1
          source: "http://www.testme.com/test.zip"
          onDownloadFinished: {
              console.log("Deleting package")
              package1.remove()
          }
        }

    I see the console message after downloading, but the zip & extract remains. I’d like to delete both the zip & its content.

    I notice the zip & content is stored in C:\Users\<userName>\AppData\Local\<appName>\cache\_packages

    Can someone tell me if I’ve done anything wrong so far? Thanks.

    Cheers

    Michael.

    #7107

    Alex
    Felgo Team

    Hi Michael,

    the zip should usually be deleted right after the extraction step, the files should be deleted when calling remove() yes. We will shortly investigate the removal on Windows, you are saying both the zip and the files are remaining in your app data location directory, right?

    Thanks,

    Alex

    #7115

    Michael

    Hi Alex

    Yes that’s right.

    Cheers

    Michael

    #7118

    Michael

    Hi Alex

    Has the delete function been confirmed to work ok on mobile platforms? This is the main thing..

    Cheers,

    Michael.

    #7119

    Alex
    Felgo Team

    Hi Michael,

    yes our tests (and the functionality of course) cover the mobile platforms too, we are currently still looking into the issue on desktop, I will let you know about our results as soon as they are available.

    Thanks,

    Alex

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded