Ant upload: an app to share files to the world

Binaries OOOUUUTTTT :speedboat:

11 Likes

Hmph… I was supposed to wait. This is not waiting. :grin:

4 Likes

Hi @mick.vandijke and welcome to the forum :slight_smile:
A solution in your first post :tada:
Is this a record?

Got it in one…

I was mystified when I was getting the same error on differnt machines both at home and VPS.

I will move some more ETH-ARB to that account and try again.

2 Likes

Did I miss something? :exploding_head:

1 Like

$ ./target/release/ant file upload --max-fee-per-gas 15000000 '/home/willie/Downloads/the candlestick trading bible.pdf'

This works well with @qi_ma 's latest hotfix at client further config tweaking for more rubost performance on slow connection by maqi · Pull Request #2929 · maidsafe/autonomi · GitHub

...
Successfully uploaded /home/willie/Downloads/the candlestick trading bible.pdf (5 chunks)
Upload of 1 files completed in 288.566505501s
Uploading private archive referencing 1 files
(1/3) Chunk stored at: 815ab548c23af0949bc89b85413918336ee3e27be1aef944dbdbcab9544d9f33
(2/3) Chunk stored at: 234dc7d7f590cdd983ec520c0573ac3d1121876e7d1ed3e15d4281e417263404
(3/3) Chunk stored at: d39886fc2aca504a4fd349dfe730272d1a2b050be3962344150dfc4b4a1fbdf7
Successfully uploaded: /home/willie/Downloads/the candlestick trading bible.pdf
At address: 5805702148129741657
Number of chunks uploaded: 8
Number of chunks already paid/uploaded: 0
Total cost: 212386553010 AttoTokens
4 Likes

@happybeing How can I make --max-fee-per-gas=1500000 work with dweb?

Number of chunks uploaded: 8

@Anselme Any idea why ant is showing double the chunks uploaded then there are chunks actually uploaded?

I noticed this with some uploads I was doing and saw @Southside has the same with his output.

2 Likes

Here are the first 5 chunks (the file contents). And the 3 others contain the metadata (in an archive). So 8 chunks in total.

That is how ant does it, everything is an Archive. On the other hand, AntUpload only uploads file contents so it would be 5 chunks.

3 Likes

Its my fault for not posting longer terminal output :rofl:

I always feel Im posting too much output

until the time I didnt post enough and confuse @neo

Sorry…

3 Likes

That should work, or -x for short, see dweb/dweb-cli/src/cli_options.rs at main · happybeing/dweb · GitHub

1 Like

AntUpload breaks free :dove:

# macOS aarch64
ant file download 4fcf9ee03171630aae2f328c47e942962a0ed58431cd60ee74a9161355e270d5 AntUpload-aarch64-apple-darwin.zip 

# Linux aarch64
ant file download 1db1542e7f5d57da5a40040a026832f33f4efa2ab2fd0326760dac0a5fd86632 AntUpload-aarch64-unknown-linux-musl.zip

# macOS x86_64 
ant file download 0dcad65bf1cdf3b26fe3415d51abd95bea60343ca9c5e02b7c0be576b11e94ca AntUpload-x86_64-apple-darwin.zip

# Linux x86_64
ant file download 4ddf28c5bd0a652587e6c812edb260a92c0b5011c0d1f2ff7eca628160775c8c AntUpload-x86_64-unknown-linux-musl.zip

AntUpload was uploaded by AntUpload

20 Likes

Dog food is always delicious! :smiley: :dog:

4 Likes

Hey guys, new release of AntUpload:

  • Significantly increased upload stability and better error reporting (@Southside this should alleviate your upload woes)
  • Re-use of payments for retries of failed uploads (compatible with ant CLI)
  • Improved logging (still stdout though)

Download the binaries here:

Or directly here:

# macOS aarch64
ant file download 86a59dabc6d2d0f9cb50c03859a39378ce59e5f2e849aee2094eff641b21d438 AntUpload-aarch64-apple-darwin.zip 

# Linux aarch64
ant file download 4b114c0749a5e24a8d5b3e6f6b60bd6ce245b635583cd8a200e10c5385d2b9d2 AntUpload-aarch64-unknown-linux-musl.zip

# macOS x86_64 
ant file download 97725e3a9a65ca88a8975aa0d1f84d3d23a6cb7fa25c4861936574e0b180a217 AntUpload-x86_64-apple-darwin.zip

# Linux x86_64
ant file download bf027cf6a05358c7731b8b1d18be5f7105005cfdd89881d327bd2e3b4a3d11d5 AntUpload-x86_64-unknown-linux-musl.zip

The new release of AntUpload was uploaded by the new release of AntUpload

13 Likes

I’m unable to download those binaries.

Anyone else?


   0: Failed to fetch Public Archive from address
   1: Record could not be found.

Autonomi Client v0.4.2

same result i cant download with v0.4.2

Tried and got the same error but after 2 retries it finally worked for me. Will inform the team about those delays, but the data is there indeed.

1 Like

I was able to download with Autonomi Client v0.3.11. I didn’t try with latest version yet.

Sooo I did some testing :slight_smile:

I put my wallet private key as requested, and pressed enter. So far so good. Then I drag&dropped a few images, but all failed because of some insufficientTokensForQuotes errors.
Which was weird cause I have enough ETH and ANT.

So I quit the app and relaunched it. On wallet private key request page, I saw that the default network was “alpha”, which I’m not familiar with yet. So I selected autonomi instead.
I retried and then magic, it all seemed to work ! I could upload many small/medium size images in parallel, all successful, although they took a long time to upload (1 to 4 minutes).

So I wanted to try again from scratch, restarting the app, again with some images and with bigger files like small videos, all dropped at the same time.
But I was way less lucky this time, only one (small) file successful :


2 types of errors, insufficientPeers and InsufficientTokensForQuotes

8 Likes

Thanks for testing @Atom!

So the errors you got the first time were because you connected to the Alpha network (which I made default, but maybe autonomi would be a better default!) on which you don’t have any tokens (your tokens are real ANT from the real autonomi network)! Thus the first InsufficientTokensForQuotes.

For you other tests, I see a lot of connection errors (insufficientPeers), retrying is the only way unfortunately (and make sure you choose autonomi and not alpha).

7 Likes

By the way the point of this update is that retries re-use your previous attempts’ payments. So they are FREE. So retry with all your might! You can just drag and drop the same file again and again until it works! (previously you had to pay for each attempt! Which was quite a waste!)

9 Likes

It’s nice to see something like this and from an Autonomi developer as well!

It seems a little chatty just sitting there doing nothing.

Screenshot 2025-07-05 at 22.34.01

It’s sent and received more than 15MB in 5 minutes after opening and without uploading anything yet. What is it doing? Is it necessary traffic just to stay connected in case something needs uploading?

4 Likes