LMS

Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
Tasklist

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
Task Type Feature Request
Category
Status Closed
Assigned To Ferdinand (PaGaisu)
Operating System All
Severity High
Priority Urgent
Reported Version alpha0
Due in Version alpha1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

find a way to allow clients to download resource files via an URL

Guillaume
This task depends upon

Closed by  Ferdinand (PaGaisu)
Wednesday, 31 August 2011, 07:11 GMT
Reason for closing:  Implemented
Comment by Ferdinand (PaGaisu) - Wednesday, 31 August 2011, 07:10 GMT
The web resource service enable you to share some files and directories on the web. It means that people could access files and directories on the filesystem where the LMS is hosted.

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>;

Loading...