PDA

View Full Version : Move RSOs off rented server


quackofalltrades
10-01-2009, 04:50 PM
Hi everyone,
So I'm trying to make this program in Flash that uses persistant remote shared objects to save, edit, and view data. I don't have enough money to buy FMS or a dedicated server, so I'm currently just renting a Red5 server from Gigapros.

I've been able to get everything to work just fine, but I'm worried about the fact that all of the persistent remote shared objects are being stored on the rented server, which I'm not supposed to do. Is there any way for me to write some code, client or server side, that would let me save the remote shared objects to a hard drive or online hosting service?

Failing that, is there any way for me to call java functions from actionscript and/or Red5? I was thinking I could pass a string representation of an object to a java function that would then write that string to a text file, and then later on I could use a java text scanner to retrive that string and pass it back to actionscript.

I can be dense sometimes, so any specific instructions would be much appreciated.

bowljoman
10-01-2009, 06:18 PM
I'd suggest using php and amf to store data in sql. red5 can easily comunicate to php amf.

quackofalltrades
10-01-2009, 06:28 PM
I'm sorry if this is stupid question (I actually don't know php, amf, or sql), but don't you need to buy an sql server? I'm trying to avoid spending a lot of money.

bowljoman
10-11-2009, 05:11 PM
$5.99 per month is about average for a php/sql server.

I will rent you a red5 server and Ill let you store your shared objects on it.

What is your bandwidth requirements and budget?

ten_foot_ninja
10-18-2009, 05:17 PM
You could write a script to back up your RSO's to another location, or just copy and paste them manually to another location.

but RSO's need some sort of server (red5 or FMS) to manage them. I don't know about Red5, but you can configure FMS to use RSO's stored on another location in your server's LAN (store them on a network drive).

I'm not sure I understand what you need exactly. You could use a proper database instead of RSO's (there are good open, free ones available: sqllite, prostgress) but you will need to write server code to manage the data and at the end of the day, the data will still be stored on a server somewhere.