Free the mouse Replay RnsSoftwareUpdate
Home | Changes | Index | Search | Go

getsw.pl requests

These requests are the basis for the software-updating process.

The queries look like:

   http://rns.replaytv.net/cgi-bin/2.0/getsw.pl?version=520411140&serial=RTV4080K1AA5000149

The response, content-type text-plain, is empty when there's no update available for that software version (for that serial number -- this is the only query where the serial number seems to actually be checked; presumably this is how the beta-test process is managed).

By using an old version number, we can see what the response looks like where there is one.

It's a text file, excerpts of which looks like:


#server rns.replaytv.net
#server rns-1.replaytv.net
#server rns-2.replaytv.net
## Generated by mkmanifest v4 on Wed Jan 30 16:47:03 2002

#version 520411140
#boot Platform/Plymouth/Modules/ptv.bin
#files 206

#bytes 2568937
. -rm-r
Customize -mkdir
Customize/CheckinToken.txt /swupdate/520411140/Customize/CheckinToken.txt.gz
Customize/copper_24.font -cp
etc -cp-r

At the top are various header lines, beginning with #; they specify what machines the files can be downloaded from, how many there are, and the total size.

After that are entries for various directories and files, all relative to /sys1 and /sys2.

The lines quoted mean:

In the actual file, there are several hundred more lines of the same types, specifying complete directories to copy over and directories to make and files to copy or download into them.

-- ToddLarason - 27 Mar 2002


Your post will appear before this form in chronological order (newest at bottom)

Topic RnsSoftwareUpdate . { Edit | Attach | Ref-By | Printable | Diffs | r1.2 | > | r1.1 | More }
Revision r1.2 - 01 Apr 2003 - 04:48 GMT - TWikiGuest
Parents: WebHome > RnsProtocol
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.