You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2013/08/26 11:53:52 UTC
[jira] [Commented] (CONNECTORS-767) Can we get file name in Web
Connector?
[ https://issues.apache.org/jira/browse/CONNECTORS-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749953#comment-13749953 ]
Karl Wright commented on CONNECTORS-767:
----------------------------------------
How do you propose to get the file name from the url?
Also, where is this important? What output connector are you using?
In general, I think creating metadata such as the file name is OK even when the repository doesn't have one, but I'd like to understand how it is meant to be used first.
> Can we get file name in Web Connector?
> --------------------------------------
>
> Key: CONNECTORS-767
> URL: https://issues.apache.org/jira/browse/CONNECTORS-767
> Project: ManifoldCF
> Issue Type: Bug
> Components: Web connector
> Affects Versions: ManifoldCF 1.3
> Reporter: Shinichiro Abe
> Priority: Trivial
>
> Although file and sharedDrive connectors get file name, web connector does not get file name currently. Can web connector get a file name like below? :
> RepositoryDocument rd = new RepositoryDocument();
> rd.setFileName(filename from URL);
> rd.setBinary(InputStream);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira