当客户使用Torrent文件时修改它,可能吗?
我尝试构建一个使用 torrent 技术的应用程序,以便更轻松地在朋友之间共享文件。
问题是,是否可以在运行时修改 torrent,并且使用该 torrent 的每个人都可以获取文件列表的更新版本。可能是文件被修改、添加、删除等,并且应该在 torrent 文件中进行更改。在朋友之间分发文件相当容易,但是任何“torrent-lib”都可以吗?
我还没有完全深入了解 torrent-spec,但我进行了很多搜索,但找不到任何其他人问过这个问题。
如果使用磁铁而不是 torrent 文件也会有同样的效果吗?
I trying to build an application that is using the torrent technology to make it easier to share the files between friends.
The question are, is it possible to modify a torrent at runtime and that everyone using the torrent then are possible to fetch the update version of the list of files. Could be that a file is modified, added, deleted etc and the it should be changed in the torrent file. The file distributed among friends is fairly easy, but will any "torrent-lib" be ok with it?
I haven't digged down to the torrent-spec entirely but I have search a lot and can't find any other that have asked this question.
Also would the same work if using magnets instead of torrent files?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
创建后您无法修改 torrent,因为这会修改它的哈希值,从而创建一个全新的 torrent。
You can't modify a torrent after creation, for that will modify it's hash and therefore create an entirely new torrent.
是的,你可以修改 torrent
我使用名为“ Maketorrent 2.1 ”的应用程序自行修改了 torrent
但遗憾的是我现在无法使用这个应用程序,因为它只能在使用Win 98、NT、XP等的计算机上运行。它不支持Win Vista和7。
在Win 7上运行时程序的环境不完全可见但如果您有一台装有 Win XP 的 PC,您仍然可以使用它。
Ye you can modify a torrent
I have modified torrent by self with an application named " Maketorrent 2.1 "
But sadly I can't use this application now because it can only run over the computers using Win 98,NT,XP etc. It does not supports Win Vista and 7.
The environment of the program is not visible completely when running on Win 7 but if you have a PC with Win XP you can still use it.