Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

How to copy the specified CID file from the local #12

Description

@spark8899

I try to use the command and the result is an error.

ipfs-copy --cids=cid.txt --source-api-url=http://localhost:5001 --project-id=xxx --project-secret=xxx
2022/05/20 16:15:17 [INFO] Infura IPFS version is: 0.11.0
2022/05/20 16:15:17 [INFO] Pinning CIDs to https://ipfs.infura.io:5001 with 20 workers and maximum 50 req/s/worker...
2022/05/20 16:16:18 [ERROR] Failed pinning CID 'xxxxxxxxxxxx'. pin/add: pin: failed to get block for xxxxxxxx: context deadline exceeded
2022/05/20 16:16:19 [ERROR] Failed pinning CID 'xxxxxxxxxxxx'. pin/add: pin: failed to get block for xxxxxxxxxx: context deadline exceeded
2022/05/20 16:16:19 [INFO] Successfully pinned 0 CIDs
2022/05/20 16:16:19 [INFO] Failed to pin 2 CIDs

But i can get the file by ipfs command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions