-
-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not create download: Bad torrent file, "name" is an invalid path name. #847
Comments
If someone wants to have a single file in a folder, they have to create a "multi"-file metafile with just one entry in |
That's certainly a valid interpretation. The spec is rather succinct on this point though:
You could argue this a whole bunch of ways:
But going the other way:
It's worth noting that some clients can deal with these files just fine, otherwise HB wouldn't be distributing them like this for years. Not to mention whatever tool has produced this file. If I can raise an opinion, having read a little about this now, it would be that the bittorrent spec should be interpreted as platform agnostic and that it makes no assumptions about filesystem compatibility with particular filenames. A rather catch-all solution would be not to reject |
If you want evidence beyond the spec, the original BT client has validation checks that reject |
I think that's fair evidence. I'm going to contact HB support and link this discussion. |
Hi,
I'm having an issue with a particular torrent file from Humble Bundle, which throws this error when I attempt to add it to rtorrent. It seems this is specifically caused by the way HB creates their torrent files, but that their method isn't necessarily incorrect.
There is a discussion about this format on the transmission bugtracker: transmission/transmission#294
Output from
lstor
:The key part seems to be that rather than splitting the info struct into multiple file structs, the info struct contains a single file description, which in turn includes a directory path.
The consensus at the linked issue seems to be that this does conform to the torrent spec, but I don't have any knowledge on that front so won't comment.
The problematic torrent file can be made available on request (the game is currently free, so you can get a download link yourself if you want).
The text was updated successfully, but these errors were encountered: