SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-11-2012, 07:30 AM
dblaine2 dblaine2 is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 307
Jetty webserver and file uploads

Hi all,

I have a family project where I would like family members to upload photos and home movies via the Jetty webserver interface to my media server. Is this possible?

Dave
Reply With Quote
  #2  
Old 06-11-2012, 07:37 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Should be doable, if you build a custom webpage to be served up by jetty which allows you to perform the actions you want...
Reply With Quote
  #3  
Old 06-11-2012, 02:46 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
If you're running the latest version of the web server UI plugin then you've got a Groovy scripting engine built into the web server, which would make this task a lot easier. Details on adding new groovy scripts to the web ui are here.

Processing and handling file uploads in Groovy (and in Java) is not all that straightforward. You'll probably want to use the Apache Commons FileUpload package to help with that task. You'll probably want to use this package whether you use Groovy or just straight Java.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem with the SageTV Jetty webserver, always returns 404 hagur SageTV Customizations 3 11-01-2011 01:20 PM
Problems with the Jetty webserver plugin and SageTV web interface hagur SageTV v7 Customizations 0 06-06-2011 05:28 PM
Jetty and nielm webserver help mrrrl SageTV Customizations 4 11-08-2010 09:21 PM
Jetty File I/O - lots of jlmdxtv SageTV v7 Customizations 6 11-07-2010 09:15 PM
Jetty and BMT Spectrum SageTV v7 Customizations 2 06-24-2010 08:38 PM


All times are GMT -6. The time now is 01:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.