[ 
https://issues.apache.org/jira/browse/JENA-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850262#comment-13850262
 ] 

Andy Seaborne commented on JENA-611:
------------------------------------

Added, using built in FTP support on java.net and will be in the next snapshot 
build.

A few caveats:
* Relatively untested and we don't have a reliable target to include in the 
JUnit test suite.
* FTP is slow to open the connection (FTP round trips involved)
* The errors raised seem to depend on exactly what does wrong so the exceptions 
can be a bit cryptic.

> com.hp.hpl.jena.shared.NotFoundException is thrown when URL exists
> ------------------------------------------------------------------
>
>                 Key: JENA-611
>                 URL: https://issues.apache.org/jira/browse/JENA-611
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Jena
>    Affects Versions: Jena 2.10.1
>         Environment: Mac OS X 10.9
>            Reporter: Brendan Reilly
>            Assignee: Andy Seaborne
>            Priority: Minor
>              Labels: patch, test
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When reading an ontology from file with several import declarations, Jena 
> throws a com.hp.hpl.jena.shared.NotFoundException on the URL 
> 'ftp://ftp.ebi.ac.uk/pub/databases/chebi/ontology/chebi.owl'.
> However, this URL exists --> Could this be related to the fact its served 
> over FTP?
> Switching ftp:// to http:// the ontology is loaded / imported correctly.
> Other imports work correctly from the same file.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to