
Originally Posted by
Charles Linquis
I'm interested in your project, and would like to see your code when you get it completed. I'm using an XPORT as well, and with custom code which allows me to do SNMP.
Charles, the firmware in the XPORT may be the same firmware yoiu have. I am told it allows SNMP, but because I don't need to use it (can't think of anything 'creative' to do with it ?) I have not yet looked at it.
The XPORT tunneling of HTTP on port 80 produces headers like....
Code:
GET /index.htm HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shock
wave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application
/msword, */*
Accept-Language: en-gb
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0
.50727; .NET CLR 1.1.4322)
Host: 192.168.0.9
Connection: Keep-Alive
....Which is useful because at last you can write your own pages without needing to store them on the COBOX, and that means that _dynamic_ pages with variable sized data fields can be used.
I'm just using plain HTML right now but I've tried some Java objects and they seem to work fine.
The only downside is that because I'm using SDFS which doesn't seem to support directories, all of my webpages are stored in the root directory.
I'm just going to take a break but I'll leave the server running for you for the next hour or two. Not much to see but one page is
http://92.8.106.11/MACMON01.htm
and another is
http://92.8.106.11/INDEX.HTM
There's also an image on the SD card http://92.8.106.11/PICTURE.GIF
Those pages are coming live from an SD card. They are complete files and the images are served correctly by subsequent GET methods (I didn't think the code would deal with that situation properly but to my pleasant surprise it does !)
With the exception of the 'index.htm' file, ALL filenames are
[8-characters] . [3-characters] , all in uppercase.
Bookmarks