Embedded HTML Files

Ethernet specific questions and answers - IRTrans LAN, LAN Controller devices

Moderator: marcus

Embedded HTML Files

Postby sambuddy » Tue 9. Dec 2008, 05:22

Hello All,
If i upload an HTML file into my IR Trans XL and the file is called "test1.html" What web address do i call to get the page to display?

e.g. ip address of ir trans xl = 10.75.0.2
do i put into my browser
"http://10.75.0.2/test1.html"

to get the html page to be displayed?
Thanks
sambuddy
 
Posts: 12
Joined: Thu 4. Dec 2008, 21:48

Re: Embedded HTML Files

Postby IRTrans » Tue 9. Dec 2008, 11:41

Hi,
the html pages are in the directory "/html".

http://10.75.0.2/html/test1.html

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Embedded HTML Files

Postby sambuddy » Mon 15. Dec 2008, 04:13

Thankyou for that. I haved tried it but it has been un successfull :(

i get an "HTTP 404 page not found" error when i try to acces the webpage

THe steps i follow are

get html file with some web links on it for test. file = book.htm
load book.htm using IR TRans Gui Client
enter "http://10.75.0.40/html/book.htm" into web address
and i get the error.

Can you tell me if i am doing something wrong?
Thanks
sambuddy
 
Posts: 12
Joined: Thu 4. Dec 2008, 21:48

Re: Embedded HTML Files

Postby IRTrans » Mon 15. Dec 2008, 12:53

Hmmm, we will check the exact syntax here and let you know.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Embedded HTML Files

Postby sambuddy » Mon 5. Jan 2009, 23:45

Hello IRTrans,
Have you been able to confirm that this works?
Regards
sambuddy
 
Posts: 12
Joined: Thu 4. Dec 2008, 21:48

Re: Embedded HTML Files

Postby IRTrans » Tue 6. Jan 2009, 01:25

Hi ,
sorry for the delay.

I just checked it and the path is correct.

I suppose your problem is, that the file ends on .html and not on .htm.

If that does not help you did not upload the file correctly. You will need to use the HTML Upload page of the GUI Client select the files you want to upload and press "Flash".

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Embedded HTML Files

Postby sambuddy » Thu 8. Jan 2009, 05:40

Hello,
Thanks, I have it working now. BUT i now have another problem, I have reprogramed the html files into two irtrans xls several times and now they don't seem to be updating the files any more :(
1 IRTrans xl will display the pages sometimes and other times tell me the pages aren't available
the other irtrans serves me an old version of my webpages regardless of what i flash into it.

Is there any way to re-initialise the html storage area in these devices?
(i have tried flashing them with no files and it succeeds saying 4 bytes flashed, but the problem still exists)
I have attached my html files incase they are any use

Thanks
Stuart
Attachments
original.zip
(62.28 KiB) Downloaded 2484 times
sambuddy
 
Posts: 12
Joined: Thu 4. Dec 2008, 21:48

Re: Embedded HTML Files

Postby IRTrans » Thu 8. Jan 2009, 12:00

Hi,
I rather think that the problem is that your PC is not refreshing it's cache.

Please try another browser or PC.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Embedded HTML Files

Postby sambuddy » Thu 8. Jan 2009, 21:00

Hello IR Trans,
I had already tried 3 different pc's using both IE and firefox both before and after clearing the cache. When i got to flash the html pages, on two occasions I have received the "error flashing HTML Pages" error.
Please see attached graphic
Thanks
Regards
Stuart
Attachments
irtrans html error.JPG
irtrans html error.JPG (159.5 KiB) Viewed 53831 times
sambuddy
 
Posts: 12
Joined: Thu 4. Dec 2008, 21:48

Re: Embedded HTML Files

Postby IRTrans » Thu 8. Jan 2009, 21:44

Hi,
hmm, I have tested that here and it works OK.

However, what I see is that you have quite large single files (> 50k). The embedded webserver of the IRTrans device is rather slow
as it has very limited resources. Therefore you might get timeouts with very large files. I would recommend to use no single files larger than
2-4KB.

Of course you can also put the HTML files on any webserver you have.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32


Return to Ethernet

Who is online

Users browsing this forum: No registered users and 54 guests