Git Product home page Git Product logo

Comments (6)

zhangjh avatar zhangjh commented on July 23, 2024

你先在bin目录下手工执行下这条命令看有没有用?如果可以那么之前运行的时候有没有报错信息?给的信息不够不好排查
curl http://img.hdwan.net/2014/09/Transformers.Age_.of_.Extinction.2014.720p.torrent -o ../dst/movie/中字版TransformersAgeofExtinction2014720pBDRMVB32G.torrent

from islandbeauty.

winglight avatar winglight commented on July 23, 2024

Warning: Failed to create the file Warning: ../dst/movie/中字版TransformersAgeofExtinction2014720pBDRMVB32G.tor Warning: rent: No such file or directory curl: (23) Failed writing body (0 != 2671)
这是没写入权限的意思吗?

我试了一下把../dst/movie/这段路径去掉就可以正常下载了

我发现我手工创建的目录是dist,当我把它改名为dst后,可以正常下载了

from islandbeauty.

zhangjh avatar zhangjh commented on July 23, 2024

能提供下你的运行环境吗?这个错误是下载路径不识别

from islandbeauty.

winglight avatar winglight commented on July 23, 2024

node: v5.10.1
OS: MacOS
这应该就是下载目录需要手工创建,没有自动创建产生的问题,直接写文件时,是不会自动创建目录的

from islandbeauty.

zhangjh avatar zhangjh commented on July 23, 2024

代码已经更新,已经增加了自动创建目的目录的逻辑

from islandbeauty.

winglight avatar winglight commented on July 23, 2024

测试了一下,已经可以自动创建目录了

from islandbeauty.

Related Issues (2)

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.