Problems indexing XML file

Hi,

 

I have an XML file stored externally on our website and I want funnelback to fetch it and index it.  I've set up a local collection which has the source directory as:

 

/opt/funnelback/data/image-library/offline/data

 

and the pre-gather command is:

 

curl -O [URLtoXMLfile] 

 

When I try to update the collection I get a failure updating message.  Looking in the logs the only error line I get is:

 

Update: Collection: image-library Date: Wed Aug 10 14:27:18 2016 Error: Error running "/opt/funnelback/linbin/ActivePerl/bin/perl-static /opt/funnelback/bin/index.pl /opt/funnelback/conf/image-library/collection.cfg".

 

How come this error keeps appearing and how can I fix it?  (Funnelback 13.2.0)

 

Thanks,

Robin

Fixed!

 

My curl command needed to save the file into the folder. Here's the fix:

 

curl -k -o /opt/funnelback/data/image-library/offline/data/imagelibrary.xml [URLtoXMLfile]