Fleming Testnet file sharing

I thought it would be nice to have a separate thread where members could post their file links. This way we can test uploading and downloading without polluting the testnet thread too much :slight_smile: .

So if you want to share some pictures or music or other stuff you like, post it down here!

Some instructions for the not so technically gifted people like myself:

Upload a file

$ safe files put ./to-upload/ --recursive
where ./to-upload/ is a folder where you put the file in you want to upload

Download a file

$ safe cat ā€˜put link hereā€™ > ~/ ā€˜put file name hereā€™

10 Likes

Iā€™ll start:

safe://hygoygype4mpije8h61ubr34aq3yra7shr118zjdouqj8satxzqr5r3nkza

Edit:
Indeed @lukas, please add file name + file size

file name = ā€˜nancy.pngā€™
file size = 3MB

5 Likes

safe://lazydog

My pup! He is a bit older and wiser now, but needed to upload something handy! :grinning:

7 Likes

Is there a way to download the files with their original filenames? Otherwise we will want to give out the file ending when posting files as well.

And file size could be good to give as well so you can know what to expect, itā€™s running very slow for me.

1 Like

Letā€™s see if network can store cats without problems :slight_smile:
safe://hygoyeymasmcyc86iehubpywh81eroedagqto1q1yfpthwwdbt8qb1qzw7o

2 Likes

Little space video.

safe cat safe://hy8aygymn871njm8qputxmcxy8ztsymm6nfnnzg4m64rcdcjd876jmjkfwa > space_nasa.webm

6 MB

2 Likes

Yes, it was wrong url. But correct URL throws errors for me :frowning:

[qp2p::connections] ERROR 2021-04-08T20:50:34.751686700 [C:\Users\runneradmin\.c
argo\registry\src\github.com-1ecc6299db9ec823\qp2p-0.11.7\src\connections.rs:234
] Failed reading from a uni-stream for peer 138.68.138.179:51519 with error: Fai
led to read expected number of message bytes: connection closed: the endpoint en
countered an internal error and cannot continue with the connection: endpoint dr
iver future was dropped

Hmmm, weirdā€¦ Maybe a bugā€¦ Or maybe only I have access to the file container?

I generated the xorurl from the original file with safe xorurl space_nasa.webm now, and it was different. I updated my post so you can try now if you want.

Hah, I read the file it outputted as a text file and it contains this:

Files of FilesContainer (version 0) at "safe://hyryyry4rw5f3mbuqzum3ybe8ffiwcedb6trx8tfi7g66ydpn681j4biironra":
+------------------+------------+---------+----------------------+----------------------+--------------------------------------------------------------------+
| Name             | Type       | Size    | Created              | Modified             | Link                                                               |
+------------------+------------+---------+----------------------+----------------------+--------------------------------------------------------------------+
| /space_nasa.webm | video/webm | 5983716 | 2021-04-08T17:17:49Z | 2021-04-08T17:17:49Z | safe://hy8aygymn871njm8qputxmcxy8ztsymm6nfnnzg4m64rcdcjd876jmjkfwa |
+------------------+------------+---------+----------------------+----------------------+--------------------------------------------------------------------+

So it has the real xorurl to the actual file right there. :slight_smile:

EDIT: I test downloaded the video from the network and it works for me.

A looping video of some wavy shinies.

safe cat safe://hy8ayqyeyq3efa1p4dg8yi37q1rkagfbuiwobjc7u9fje18seoos5d696jh > fullscreen_wave_1.mp4
76 MB

1 Like

Download was successfull for me from the second try.

Perfect.

Cute cats! :slight_smile:

The network is veeeery slow for me, but it feels stable. Only rarely has a command actually failed.

Good first impression!

Yeah, same for me. Downloads are quite slow at the moment

Iā€™m getting initial latency of a good few seconds before much happens, but then about 2MB/s after. My kids are abusing YouTube atm, mind!

1 Like

safe://hygoygyjyj7wrhgdbr83ynzmmhg81dwyprthtw74yjaoggw7geg4ohsmwsa

to upload my file i did the following.

safe files put samleap.jpg

where samleap.jpb is an image in the same directory.

This might sound like a stupid idea, but could people incldued the commands they used to create their uploads? e.g. linking an NRS to their upload.

Im a bit smooth briained.

1 Like

Huh, weirdā€¦ Iā€™ve been downloading that video for the last 10 minutes or so, donā€™t know what speeds Iā€™m getting. Nothing wrong with my Internet.

Itā€™s still downloading for me too, but my net monitor says 2MB/s at least!

EDIT: I see ā€˜safe catā€™ is starting to chew up my CPU for the by 60mb file too (safe cat safe://hy8ayqyeyq3efa1p4dg8yi37q1rkagfbuiwobjc7u9fje18seoos5d696jh). I think something isnā€™t right there :slight_smile:

1 Like

safe nrs create -l ā€œsafe://hygoygyjyj7wrhgdbr83ynzmmhg81dwyprthtw74yjaoggw7geg4ohsmwsaā€ zoki

1 Like

I also just do safe files put filename.

I would be happy to know about some way to list the files Iā€™ve uploaded so I donā€™t need to save them manually, if anyone knows.

So you are able to download fullscreen_wave_1.mp4 in ~40 seconds?

If so thatā€™s GREAT performance, if we can all get that as a baseline when downloading/uploading from/to the network that would be superb!

Sadly, no. See above: Fleming Testnet file sharing - #16 by Traktion

I think there is a bug somewhere!