I was looking into how to achive a file upload using http. I found an interesting example @ http://www.eazyware.com/vb5-cgi/example.htm
As you can see it allows the client to upload a gif file which it displays. I am interested in how this works on the client side. I looked at the source code and could not work it out.
Where is the code telling the browser to open the windows "file open dialog box" and where is the code to perform a URL encode on the data? I assume thats what it does.
I also copied the source and ran it on my local machine, when I did this the "browse" for a file button vanished (I never saw the code for it in the original), where did it come from?
I'm confused.... how does it work?
Also Is there a limit to the file size you can upload?