Giter Site home page Giter Site logo

一次性上传超过几百个文件之后,虽然baidupcs-go显示全部上传成功,但是网盘客户端查看有小部分文件并没有上传成功 about baidupcs-go HOT 11 OPEN

masx200 avatar masx200 commented on August 24, 2024
一次性上传超过几百个文件之后,虽然baidupcs-go显示全部上传成功,但是网盘客户端查看有小部分文件并没有上传成功

from baidupcs-go.

Comments (11)

masx200 avatar masx200 commented on August 24, 2024

解决方案在这里

由于本人不会golang,这是用nodejs调用baidupcs-go操作实现的

解决了上传文件有小概率上传未成功,但baidupcs-go返回上传成功的问题,

解决思路:使用upload上传完文件之后,使用meta命令,检查文件是否存在于网盘中,然后重传失败的文件

https://github.com/masx200/baidupcs-batch-upload

from baidupcs-go.

masx200 avatar masx200 commented on August 24, 2024

有没有大佬能用golang解决这个问题?

from baidupcs-go.

masx200 avatar masx200 commented on August 24, 2024

@waylonwang

from baidupcs-go.

masx200 avatar masx200 commented on August 24, 2024

@pongfcnkl

from baidupcs-go.

masx200 avatar masx200 commented on August 24, 2024

@qjfoidnh

from baidupcs-go.

masx200 avatar masx200 commented on August 24, 2024

@Erope

from baidupcs-go.

masx200 avatar masx200 commented on August 24, 2024

@felixonmars

from baidupcs-go.

pongfcnkl avatar pongfcnkl commented on August 24, 2024

我一般不上传,帮不了你

from baidupcs-go.

Erope avatar Erope commented on August 24, 2024

上传部分代码我没看,不太清楚是哪里问题,我只改了下载部分,因为我也不怎么上传
自己的文件都是放OD的

from baidupcs-go.

masx200 avatar masx200 commented on August 24, 2024

https://github.com/felixonmars/BaiduPCS-Go/blob/master/internal/pcsfunctions/pcsupload/upload.go

from baidupcs-go.

waylonwang avatar waylonwang commented on August 24, 2024

我自己也才昨天第一次安装Go的环境看代码,以前没写过golang代码....╮(╯_╰)╭

from baidupcs-go.

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.