Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
FS#200 - WebResourceService to be implemented
Attached to Project:
LMS
Opened by Guillaume (Guillaume) - Friday, 19 August 2011, 10:15 GMT
Last edited by Ferdinand (PaGaisu) - Wednesday, 31 August 2011, 07:11 GMT
Opened by Guillaume (Guillaume) - Friday, 19 August 2011, 10:15 GMT
Last edited by Ferdinand (PaGaisu) - Wednesday, 31 August 2011, 07:11 GMT
|
DetailsHi,
find a way to allow clients to download resource files via an URL Guillaume |
This task depends upon
com.lobeo.lms.http.service.WebResourceService
Method Summary
java.io.File getFile(java.lang.String accessName)
Get a file under the specific access name
boolean share(java.lang.String webAccessName, java.io.File file)
Share the file to the web
When you share a file or a directory, you will be able to access it from the web using this url:
http://<hostname>:<port>/res/<webAccessName>