Jump to content

Long file names in enhanced web server


Recommended Posts

I am building a web interface for a PLC using the SproutCore JavaScript framework. At this point, I can make it work with a separate web server, but it would be much more efficient to host the interface on the PLC itself. The enhanced web server sounds good, but it has too many restrictions on filenames. SproutCore isn't designed to work with DOS-style 8-character file names, and it needs files to be arranged in a certain directory structure. If I had a web server application that could support longer file names and arbitrary subdirectories, I think it would work.

Any ideas?

Link to comment
Share on other sites

Hi Andy,

The Web files need to be stored in SD card which will be in the PLC.

As you mentioned indeed the PLC can work with files only using format 8.3 and english characters.

We have many customer who already inmplemeted the Enhanced web server using HTML and JAVASCRIPT using file names with 8.3 format.

Link to comment
Share on other sites

SproutCore uses files with paths like /static/sproutcore/bootstrap/en/dd9de322ad13a3d1b5f705b175e9e87edb7de740/javascript-packed.js

I'm not sure how to adapt it to 8.3 filenames.

Is the 8.3 limit a limitation of the webserver itself, or does it come from how the PLC reads the SD card?

Is the source code of the webserver available?

Link to comment
Share on other sites

Hi Andy,

The limitation is not related to the Web Server but to the PLC handling files with SD card.

Basically the path appears somewhere in the file.Try checking where you need to change the path to the file and also make sure to rename the file to be 8.3 format.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...