Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By dnts
#69661 All,
Using the well known and used /edit file system server. I want to upload a file from the browser using javascript rather than from the form itself (using the simple "upload file" example). Since it might be a large file, HTTP POST is the way to go since it will break the file into multiple packets that the ESP knows how to handle. Problem is - how do I do it in Javascript? I have a VAR holding the file content (a long XML string) and a VAR holding the required file name... what is the next step?
Thanks.
User avatar
By dnts
#69673
martinayotte wrote:Doing a google search with "javascript HTTP post" will reveal you tons of possible answers ... :ugeek:

Yeah... about that... you see - I've kind of exhausted web search and numerous trials on this problem. So many examples. So many functions I've tried. Installed sniffers. Nothing.
So if anyone has an answer rather than redirect me to google - please come forward.
Thx
User avatar
By martinayotte
#69674
dnts wrote:
So if anyone has an answer rather than redirect me to google - please come forward.

It is a bit like saying "could someone do the search for me ?"
The first hit on google would have you reveal the answer on stackoverflow.