On 18/11/2010 14:19, Carsten Byrman wrote:
> Hi,

Hello

> I was using the "Get Image From URL" local service to download a set of
> images with Taverna Workbench 2.2.0 and got this error after some
> successful retrievals:
>
> Target exception: sun.net.ftp.FtpProtocolException: Welcome message: 421
> 20 users (the maximum) are already logged in, sorry
 >
> I am not a beanshell expert, but in Java one should always close a
> stream. Doing this explicitly in the script solves the problem.

Thanks for spotting this.  It sounds like an easy fix to do for Taverna 
2.3.  I've added it into Jira as 
http://www.mygrid.org.uk/dev/issues/browse/T2-1684 .  It looks like a 
bug that goes back to Taverna 1.

> By the way, if the ContentLength is unknown, the image appears to be
> downloaded twice?!

Yes it seems very inefficient.  I've put it into Jira as 
http://www.mygrid.org.uk/dev/issues/browse/T2-1685

> Carsten

Alan

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to