Forum Discussion
Altera_Forum
Honored Contributor
20 years agocustoming of the standard web server...
Hi everyone,
I want to custom the standard web server included in the dev kit by sending some variables on the server and answering them on the client. But there is some constraints with the file ro_zipfs.zip. It contains an index.html. My difficulty is for the opening of this file in order to write it directly with C language, because I wanna answer any variables to the client, for example seeing if a button is pushed...fd = fopen("/mount/rozipfs/index.html","r+"); this doesn't work for the moment and I don't know why !!! It's a bit bad explained ok.... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif3 Replies
- Altera_Forum
Honored Contributor
Does someone know if it's only possible to write in a zip file (like web server) with a program while it's working ?
I've managed to open in READ mode this file but never in WRITE mode !!! - Altera_Forum
Honored Contributor
It's a read only file system!
you could try to rewrite the file system's source code to be able to write to the flash memory. --wolf - Altera_Forum
Honored Contributor
If you want more features, you should consider uClinux.
There are jffs2 and others, with which you can write files on flash. It is not so difficult, if you move to develop software on Linux platform. http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)