rtel wrote on Wednesday, October 13, 2010:
> I’m running the webserver with Explorer on a windows XP machine, but the webserver
> could be accessed from any browser on any OS. The files should be transferred
> from a file system to the webserver and also from the webserver to a file
> system.
I think the question was about a file system on the device running uIP, not the host. I think it is ok to assume your host has a file system, but what are you doing with the files on the target side.
Transferring a file to a webserver is very unclear, a webserver is not in itself a store of files, but something that serves files.
> The files I have in mind is a configuration file which will be an ASCII file
> to decoded and transferred into an SPI EEPROM on the same hardware as the webserver.
So you are actually sending the file, via TCP/IP, to an SPI EEPROM, not to the webserver at all, but you want to use HTTP as means of transferring the file?
Generally webservers are good and passing files from target to host, but not the other way. An FTP or TFTP server would be used for file transfer. If you are just changing configuration parameters then you could configure a page that has fields that can be filled in and ‘posted’ to the target. That way you can change individual parameters without having to transfer a file at all.
> The other file would be an bin-file with new firmware, typically transerred
> to an SPI FLASH on the same hardware as the webserver.
A serial protocol (USB, UART, etc.) can be used to transfer files, or a file transfer protocol, I don’t think you will have much luck with a webserver.
Regards.