Shop OBEX P1 Docs P2 Docs Learn Events
Spinneret Web Server — Parallax Forums

Spinneret Web Server

edited 2012-10-09 21:47 in Propeller 1
Hi, First, congratulation for the contest... was cool.....

I have a probem with images when i load my webpages in the spinneret. Or when i want open a pdf file

I love spinneret , but i have this problem
Im using the code HTTPServe.spin, exist a way i can use without change the firmware....

im use a 3G Router with zte mf110 and no-ip port redirect and work perfect but i have that problem. ().

Comments

  • Mike GMike G Posts: 2,702
    edited 2012-10-09 17:33
    Do the images follow the 8.3 file name standard?
    What happens when a pdfs or images are requested? Does the Spinneret lockup? Does it timeout?
    How big are the images and pdf?
  • edited 2012-10-09 18:10
    when the images are request , only no appears... and i trate to download the pdf file how in a normal server but appears 404 error...
    no timeout
    less 2Mbyte


    Mike i have another dude?? .. what is the partitoin format are you used for the SD? FAT or another... thats the problem maybe!!
  • Mike GMike G Posts: 2,702
    edited 2012-10-09 18:16
    Fat 16 and fat 32. A 404 error means the requested file does not exist. Please verify the file exists and is in the expected folder.

    Zip and attach your web app.
  • edited 2012-10-09 20:27
  • edited 2012-10-09 20:38
    and ... all files was loaded in the SD.
  • Mike GMike G Posts: 2,702
    edited 2012-10-09 21:47
    DAR"K" VADER, The file naming convention must be 8.3. That means no more than 8 characters for the name and no more than 3 characters for the extension.

    [html]
    <td><blockquote>
    <p align="center">image test</p>
    <p align="center"><img src="1page-img3.jpg" width="80" height="80" /></p>
    <p align="center">image 2 test</p>
    <p align="center"><img src="one.TIF" /></p>
    <p align="center"> </p>
    <p align="center">image 3test</p>
    <p align="center"> </p>
    <p align="center"><img src="one2.TIFF" /></p>
    <p align="center"> </p>
    <p align="center"><img src="http://imch.servehttp.com/one2.TIFF&quot; alt="" /></p>
    <p align="center">This is a test page.</p>
    <p align="justify"><a href="SettingSW.pdf" target="_blank">Settings_up_Spinneret_Server</a>(Test)</p>
    </blockquote>
    <blockquote>
    <p align="justify"><a href="http://imch.servehttp.com/SettingSW.pdf&quot; target="_blank">Settings_up_Spinneret_Serve</a>(Test)</p>
    <p align="justify"><a href="http://imch.servehttp.com/SettingSW.pdf&quot; target="_blank">Settings_up_Spinneret_Serve</a>(Test)</p>
    </blockquote></td>
    [/html]

    Script and link tags are referencing the file system and must follow the 8.3 file naming convention.

    [html]
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>IMCH</title>
    <script src="file:///C|/wamp/www/sp
Sign In or Register to comment.