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 .
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ā
Yes, it was wrong url. But correct URL throws errors for me
[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.
EDIT: I test downloaded the video from the network and it works for me.
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