No it is currently not possible. We add a prefix to the local file so that there could be multiple versions of the same file stored in the cache. The fpath stores the original url that has all the original information. You could also update the rname to hold this information if it is needed.
I see. I guess I have to download the remote file first and then add it to the cache locally. Thanks!
Why is that? If the file management is handled with BiocFileCache would there be a need to directly access the file by that specific name? BiocFileCache should be able to handle the download and caching, and then if you utilize the interface give you the location of the local file path to use in coding.