Code Monkey home page Code Monkey logo

Comments (2)

Danie1s avatar Danie1s commented on June 6, 2024

我测试过是没有问题的,除非你手动改了文件名,请检测你的代码

from tiercel.

flyling avatar flyling commented on June 6, 2024

你好,你的这个三方库非常赞,我遇到的问题是:默认的下载文件名是url的md5加上文件扩展名,但是下载的时候传进去了一个新名字self.sessionManager.download(downloadDataInfo.url,headers: headers,fileName: dstFileName),请问这时候用这个 self.sessionManager.cache.fileExists(url: url)判断是不是已经下载过了就不对了。因为我里面跟踪代码发现里面判断用的文件名还是md5加上扩展名,没有用我传进去的文件名判断,准确的说没有用最终下载后task.filename判断。是这样吗?

from tiercel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.