"btpoole" wrote:
Is there a way to write the ip to a txt file which is located on my server? I understand what you are saying about the array and string. I have been able to isolate the value of eth1 but when I attempt to use WriteAsciiFile I get and invalid path. I have the txt file located on my server:
WriteAsciiFile("http://xxx.xxx.x.x:port/iploc.txt", myip)
The file does exist and I am capable of clicking on the link and opening the file. When the code runs though I get invalid path. Just need to save the roku's ip some way for future access.
Thanks
WriteASCIIFile() is for writing to the local filesystem. If you need to send data to a server, you would use roURLTransfer to make a request to an API and the API would then do something useful with it like writing it to a file.