read/load file on client

Hi

I'm not sure this is the right place to ask this, but since this is definetly client side I hope it's not a problem...

some background info's:

I have an embedded webserver to which I want to send a file so that he can forward it to a serial device (the device is attached to the server ...).

The problem (or actually one of many) is, that I can't send the whole file to the server, but I have to cut it in bits of 100bytes so he can process them one at the time (the server has no need to store these pieces).

I thought to do this using XMLHttpRequests

my question:

Using Google and forum searches I haven't yet found a way to load this file (which resides on the clients PC) in order to prepare it for piecewise transmission.
Obviously I can't just access a file on the clients computer for security and privacy reasons. However, it should be possible (so I hope) to let the user search for a file (like a 'browse' button) and then for me to use this file. Does anybody know how this is done?

The whole thing should work on firefox as well as IE
[1165 byte] By [sida] at [2007-11-20 0:46:55]
# 1 Re: read/load file on client
Does anybody know how this is done?

The whole thing should work on firefox as well as IE
The only way to do that would be to make it a file upload and that would make it server-side. Are you 100% sure you can't go that route?
PeejAvery at 2007-11-8 0:40:52 >
# 2 Re: read/load file on client
The only way to do that would be to make it a file upload and that would make it server-side. Are you 100% sure you can't go that route?

yeah, no way...
the server is on an embedded system with not enough space left...

I suppose I'll have to go the application way, then...
sida at 2007-11-8 0:41:55 >
# 3 Re: read/load file on client
the server is on an embedded system with not enough space left...
Well, that is a problem in itself. You know, you can delete files after they are uploaded. Very simple script.
PeejAvery at 2007-11-8 0:42:52 >
# 4 Re: read/load file on client
Well, that is a problem in itself. You know, you can delete files after they are uploaded. Very simple script.

I know, problem is, there is only one file to upload and this one file is far too big (or the flash on the server far too small). Therefore I wanted to split it in smaller bits and send them over...
sida at 2007-11-8 0:43:52 >
# 5 Re: read/load file on client
I meant that a problem is a web server with very little space. That will seriously decrease performance.
PeejAvery at 2007-11-8 0:44:54 >