Author Topic: Trouble sending music data to website  (Read 3727 times)


  • Newbie
  • *
  • Posts: 2
Trouble sending music data to website
« on: November 01, 2013, 12:38:19 am »
I'm trying to set my website to get the music data like the example pira provides: .
I followed the steps described in , but there's no way i can make it work. If i try to send the data to the example link everything works fine. So i suppose there's something wrong with my code.

Here it is (test.asp):
Code: [Select]
dim s
set fs=Server.CreateObject("Scripting.FileSystemObject")
if s<>"" then
set f=fs.OpenTextFile(Server.MapPath("rds.txt"),2,true)
Set f=Nothing
if (fs.FileExists(Server.MapPath("rds.txt")))=true then
  set f=fs.OpenTextFile(Server.MapPath("rds.txt"),1)
  Response.Write("On air: "+f.ReadAll)
  Set f=Nothing
end if
end if
set fs=Nothing
My URL is:

The HTTP Query is set like this:

Variable: undercity
Source: Broadcast log



  • Hero Member
  • *****
  • Posts: 586
Re: Trouble sending music data to website
« Reply #1 on: November 01, 2013, 08:27:56 am »
Maybe you don't have a permission on your server for writing files. Ask your web hosting provider for a folder where file writes are enabled. Or use database for the song name storage.
As this is a purely ASP related issue, you should visit some ASP forum rather.


  • Newbie
  • *
  • Posts: 2
Re: Trouble sending music data to website
« Reply #2 on: November 16, 2013, 12:53:53 am »
Hi Jan! Thank you!

I am still having problemas to make this work; although I have tried with the test.asp of and it worked!

I have a web hosting economy in Goddady. Can you help me?

Thanks again!