Chris Sutcliffe | 21 Dec 2009 01:18
Picon

Torrents with spaces in the filename

Hi All,

Is anybody able to get torrents the contain spaces in the filename to
work?  Torrents with spaces simply refuse to start, whereas torrents
without spaces work fine.

I'd appreciate any help.

Cheers!

Chris

--

-- 
Chris Sutcliffe
http://emergedesktop.org

Alexander V. Lukyanov | 21 Dec 2009 09:10
Picon
Gravatar

Re: Torrents with spaces in the filename

On Sun, Dec 20, 2009 at 07:18:36PM -0500, Chris Sutcliffe wrote:
> Is anybody able to get torrents the contain spaces in the filename to
> work?  Torrents with spaces simply refuse to start, whereas torrents
> without spaces work fine.

Can you provide a sample of such a torrent file?

--

-- 
   Alexander..

Chris Sutcliffe | 21 Dec 2009 13:03
Picon

Re: Torrents with spaces in the filename

On 12/21/09 3:10 AM, Alexander V. Lukyanov wrote:
> On Sun, Dec 20, 2009 at 07:18:36PM -0500, Chris Sutcliffe wrote:
>    
>> Is anybody able to get torrents the contain spaces in the filename to
>> work?  Torrents with spaces simply refuse to start, whereas torrents
>> without spaces work fine.
>>      
> Can you provide a sample of such a torrent file?
>
>    
Pretty much any torrent I find on isohunt (for example) exhibits this 
behaviour.

Chris

--

-- 
Chris Sutcliffe
ir0nh34d <at> gmail.com

Kyle Thurow | 22 Dec 2009 04:15
Picon

Re: Torrents with spaces in the filename

I tried the torrent found here:
http://isohunt.com/download/138556137/ubuntu.torrent
and was unable to replicate this problem. (note: it saves to file name
"[isoHunt] ubuntu-9.10-desktop-i386.iso.torrent")

Perhaps you are entering the file name incorrectly? Keep in mind when
accessing files with spaces, either the spaces need to be escaped with
a backslash, or the whole file name put in double quotes.  For example
with the torrent file I used above you'd need one of the following
commands for it to work:

[lftp] :~> torrent [isoHunt]\ ubuntu-9.10-desktop-i386.iso.torrent
or
[lftp] :~> torrent "[isoHunt] ubuntu-9.10-desktop-i386.iso.torrent"

If you don't do this you'll get the following error:

torrent: Too many arguments.
Try `help torrent' for more information.

Is this what happened to you? You simply said it refused to start. In
what way did it refuse? What output, if any, did lftp show?

- Kyle

On Mon, Dec 21, 2009 at 6:03 AM, Chris Sutcliffe <ir0nh34d <at> gmail.com> wrote:
> On 12/21/09 3:10 AM, Alexander V. Lukyanov wrote:
>>
>> On Sun, Dec 20, 2009 at 07:18:36PM -0500, Chris Sutcliffe wrote:
>>
(Continue reading)

Chris Sutcliffe | 22 Dec 2009 05:23
Picon

Re: Torrents with spaces in the filename

> I tried the torrent found here:
> http://isohunt.com/download/138556137/ubuntu.torrent
> and was unable to replicate this problem. (note: it saves to file name
> "[isoHunt] ubuntu-9.10-desktop-i386.iso.torrent")

I should have mentioned, I don't think it's an issue with spaces in
the filename of the torrent, more spaces in the filename of the
target.  I suspect that the torrent file you used produced a file
called 'ubuntu-9.10-desktop-i386.iso'.

Having said that, I tried another file with spaces in the target and
it worked (a CreativeCommons drum beat).

I'm not sure why some work and others don't.

> Is this what happened to you? You simply said it refused to start. In
> what way did it refuse? What output, if any, did lftp show?

What happens is the torrent basically sits there waiting it seems.
lftp will have the up / down indicators at 0.

Chris

--

-- 
Chris Sutcliffe
http://emergedesktop.org

Kyle Thurow | 22 Dec 2009 06:30
Picon

Re: Torrents with spaces in the filename

It's possible the torrents you tried simply had no seeds, or had
issues with the tracker, etc. Since the drum beat file worked, I'm
inclined to think this is the issue.  If you really think the problem
is with lftp, try any non-working torrent in another client to see if
it works.

- Kyle

On Mon, Dec 21, 2009 at 10:23 PM, Chris Sutcliffe <ir0nh34d <at> gmail.com> wrote:
>> I tried the torrent found here:
>> http://isohunt.com/download/138556137/ubuntu.torrent
>> and was unable to replicate this problem. (note: it saves to file name
>> "[isoHunt] ubuntu-9.10-desktop-i386.iso.torrent")
>
> I should have mentioned, I don't think it's an issue with spaces in
> the filename of the torrent, more spaces in the filename of the
> target.  I suspect that the torrent file you used produced a file
> called 'ubuntu-9.10-desktop-i386.iso'.
>
> Having said that, I tried another file with spaces in the target and
> it worked (a CreativeCommons drum beat).
>
> I'm not sure why some work and others don't.
>
>> Is this what happened to you? You simply said it refused to start. In
>> what way did it refuse? What output, if any, did lftp show?
>
> What happens is the torrent basically sits there waiting it seems.
> lftp will have the up / down indicators at 0.
>
(Continue reading)

Alexander V. Lukyanov | 22 Dec 2009 08:28
Picon
Gravatar

Re: Torrents with spaces in the filename

On Mon, Dec 21, 2009 at 11:23:40PM -0500, Chris Sutcliffe wrote:
> I'm not sure why some work and others don't.

I think it's because of tracker that does not work (tracker.thepiratebay.org).

If you turn on debug in lftp you will see. Probably the `torrent' command
should display a more verbose status so that it would be clear.

--

-- 
   Alexander..

Chris Sutcliffe | 26 Dec 2009 06:26
Picon

Re: Torrents with spaces in the filename

> I think it's because of tracker that does not work (tracker.thepiratebay.org).

That is indeed the case.  However, each of the .torrent files list
multiple trackers, is it not possible for lftp to cycle through the
other trackers listed in the torrent file as well?

Chris

--

-- 
Chris Sutcliffe
http://emergedesktop.org

Alexander V. Lukyanov | 28 Dec 2009 13:37
Picon
Gravatar

Re: Torrents with spaces in the filename

On Sat, Dec 26, 2009 at 12:26:27AM -0500, Chris Sutcliffe wrote:
> > I think it's because of tracker that does not work (tracker.thepiratebay.org).
> 
> That is indeed the case.  However, each of the .torrent files list
> multiple trackers, is it not possible for lftp to cycle through the
> other trackers listed in the torrent file as well?

It's an extension which is not implemented yet.

--

-- 
   Alexander..


Gmane