You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Alberto <al...@gmail.com> on 2010/08/16 04:30:00 UTC
Nutch protocol file plugin does not work on windows file with
spaces in their names
Hi, i tried to run nutch crawl in windows, but file with spaces in their
names broke my test :(. Is there a solution for that? I read that a guy
change the line in protocol-file plugin to usi toURI method in URL class,
but it does not work with files with spaces. Any insight would help me :).
Alberto
--
View this message in context: http://lucene.472066.n3.nabble.com/Nutch-protocol-file-plugin-does-not-work-on-windows-file-with-spaces-in-their-names-tp1164420p1164420.html
Sent from the Nutch - User mailing list archive at Nabble.com.
Re: Nutch protocol file plugin does not work on windows file with
spaces in their names
Posted by Alberto SOUZA <al...@gmail.com>.
not like this, my problem is not the folders... but the files inside them. I
tried to replace spaces for "%20", but did not work. The files are horrible
named, like c:\folder\file arça ugh.doc.
Alberto
On Sun, Aug 15, 2010 at 11:38 PM, Scott Gonyea <sc...@aitrus.org> wrote:
> Have you tries escaping the spaces? Ie, "C:\terrible filesystem\ugh"
> becomes "C:\terrible\ filesystem\ugh"
>
> Sent from my iPhone
>
> On Aug 15, 2010, at 7:30 PM, Alberto <al...@gmail.com> wrote:
>
> >
> > Hi, i tried to run nutch crawl in windows, but file with spaces in their
> > names broke my test :(. Is there a solution for that? I read that a guy
> > change the line in protocol-file plugin to usi toURI method in URL class,
> > but it does not work with files with spaces. Any insight would help me
> :).
> >
> > Alberto
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/Nutch-protocol-file-plugin-does-not-work-on-windows-file-with-spaces-in-their-names-tp1164420p1164420.html
> > Sent from the Nutch - User mailing list archive at Nabble.com.
>
Re: Nutch protocol file plugin does not work on windows file with spaces in their names
Posted by Scott Gonyea <sc...@aitrus.org>.
Have you tries escaping the spaces? Ie, "C:\terrible filesystem\ugh" becomes "C:\terrible\ filesystem\ugh"
Sent from my iPhone
On Aug 15, 2010, at 7:30 PM, Alberto <al...@gmail.com> wrote:
>
> Hi, i tried to run nutch crawl in windows, but file with spaces in their
> names broke my test :(. Is there a solution for that? I read that a guy
> change the line in protocol-file plugin to usi toURI method in URL class,
> but it does not work with files with spaces. Any insight would help me :).
>
> Alberto
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Nutch-protocol-file-plugin-does-not-work-on-windows-file-with-spaces-in-their-names-tp1164420p1164420.html
> Sent from the Nutch - User mailing list archive at Nabble.com.