Closed IgorShadurin closed 1 year ago
You should specify path of directory to create torrent from (not file).
Thank you for the issue, I will test and will also add support for creation from files.
v0.2.0 Released with support of creation from files, could you please try again?
Now separate files are added without errors. Information about the file from the local machine is visible on the VPS. But the file is not downloading. Directories are loaded normally.
In the "Completed" row, the value for files is false, for the directory - true.
Released v0.2.1, Included fix for this too, check please
If I create a torrent from a file like this create ./GUI.Mac.M1.Tonutils.Proxy.dmg aaa
or like this create ton-torrent-mac-apple-silicon.dmg zzz111
it causes problems on the downloader side (using the official client).
FATAL ERROR: Invalid torrent header: Invalid torrent header: Invalid dir_name: Name can't start with '/'
.
If I create a torrent from a file like this
create ./GUI.Mac.M1.Tonutils.Proxy.dmg aaa
or like thiscreate ton-torrent-mac-apple-silicon.dmg zzz111
it causes problems on the downloader side (using the official client).FATAL ERROR: Invalid torrent header: Invalid torrent header: Invalid dir_name: Name can't start with '/'
.
Fixed in v0.2.2
The server is unable to download a single file with the new version. However, the downloading of directories proceeds without issue. Official client can get the name of the file, but the download process for the file simply has not started. The file was added using the command create ton-torrent-mac-apple-silicon.dmg macsil
.
The server is unable to download a single file with the new version. However, the downloading of directories proceeds without issue. Official client can get the name of the file, but the download process for the file simply has not started. The file was added using the command
create ton-torrent-mac-apple-silicon.dmg macsil
.![]()
I changed behavior in v0.2.3, it will work between tonutils-storage nodes. But not sure about storage-daemon, I think it may not work with empty directory names, so single file torrents may be incompatible by design.
For now you can use single file torrents with tonutils-storage
Tested v0.2.3 with storage-daemon, works fine too.
During running
create /Users/test/Downloads/GUI.Mac.M1.Tonutils.Proxy.dmg bbb
command I received error: