ipfscloud-web icon indicating copy to clipboard operation
ipfscloud-web copied to clipboard

Upload files from the command line

Open probonopd opened this issue 6 years ago • 4 comments

Hello, I am looking for a decentralized replacement for transfer.sh to upload files from the command line. Can it be done with ipfscloud?

probonopd avatar Dec 02 '18 16:12 probonopd

Hi @probonopd transfer.sh on IpfsCloud sounds like a good idea. Will try to make it over the weekend. Also, you can try IPFS's CLI commands. But the availability of files is not guaranteed and also you can't encrypt files before uploading using the CLI commands(there maybe some tools from community, though).

I will try to add the encryption feature in the CLI tools for IpfsCloud :) Feel free to add any suggestions.

vasa-develop avatar Dec 03 '18 16:12 vasa-develop

Yes, I have tried the ipfs command line tools, but what I am looking for is a one-line curl command to upload a file that should be pinned automatically, say, for 14 days, and in a way that preserves the filename (I think this can be done in ipfs using a directory iirc).

probonopd avatar Dec 03 '18 17:12 probonopd

Sure. This looks doable. Will get back to you here whenever it's done!

vasa-develop avatar Dec 03 '18 17:12 vasa-develop

This will be added to IpfsCloud v2.0.

You can get more details about IpfsCloud v2.0 here

Want to Contribute or track our progress? Head over here

vasa-develop avatar May 18 '19 07:05 vasa-develop