FTP upload file help

Ask questions, request features, or just complement us about our software and services.
Post Reply
User avatar
spin
Posts: 6
Joined: Wed May 28, 2003 12:07 am
Contact:

FTP upload file help

Post by spin »

is it possible to get the ftp upload file to indicate the number of listener slots remaining? is there a way for an html page to make that calculation? that would be cool

thanks

spin
Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3029
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

you could probably do that with a little java script.
- Jay
User avatar
spin
Posts: 6
Joined: Wed May 28, 2003 12:07 am
Contact:

Post by spin »

Thanks for the lead. I figured out how to use javascript to do the basic arithmetic portion, but i can't figure out how to get js to recognize rtb's variables. Any idea?

thanks
Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3029
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

well what you need to do here is use the tags in the java code inside the template for example

var = <!--RTB MAX LISTENERS--> - <!--RTB LISTENERS-->

would be converted by radio toolbox to

var = 40 - 22
- Jay
User avatar
spin
Posts: 6
Joined: Wed May 28, 2003 12:07 am
Contact:

Post by spin »

that worked perfectly! thanks for your help. here it is in action: http://freshspinach.bounceme.net/tracklistings.htm

...now how can i get the 'rtb status' tag to not show up capitalized?
Image
User avatar
spin
Posts: 6
Joined: Wed May 28, 2003 12:07 am
Contact:

Post by spin »

another question...is there a hot key command for the ftp service? sometimes i would like it to update it quicker. othertimes it gets stuck uploading the file and doesn't seem to 'timeout' in the process.

thanks
Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3029
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

you could use java script once again to adjust the capitalization, the status is pulled right out of the window itself.

As for a Hotkey their is not one to have it update to your liking as that could possibly cause problems flooding your FTP server. Just change the update interval if neccessary.
- Jay
Davman
Posts: 1
Joined: Thu Apr 08, 2004 7:53 pm

Post by Davman »

Just wondering...apart from the tags mentioned in the documentation

<!--RTB CURRENT SONG-->
<!--RTB LISTENERS-->
<!--RTB MAX LISTENERS-->

etc... are there any more tags that can be used?

i.e: individual listener counts for each server, max listeners for each server.
User avatar
Jay
Will work for food (Administrator)
Posts: 3029
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

not currently.
- Jay
Post Reply