Re:Http Post upload File Size Limit ?
There is a size limitation on file uploads with respect to the HTTP
protocol. The normal limit is 48K.
What you need to do is use the multipart-formdata encoding type to be able
to successfully upload files that are larger. However, both sides need to
support larger files.
I do have a unit that allows for this with Indy on the client side. I had
sent it over to Chad a few days back. I'm not sure what if anything will
become of it. <g>. I've been using it upload files from a GUI app to a
Server side ISAPI app. The server side is a "normal" app in that, you could
use a browser to upload a file to it or the GUI client with the help of the
unit I mention.
You might want to take a look at my web site (the tutorial tilted -
Multi-File Upload with additional form fields). This is more for the server
side than the client. Now Browsers know how to do the multi-part-formdata
thing. The unit, I mention allows you to use Indy to do it. But the server
side still needs to be able to process it.
You can use the demo on my site, to test your GUI app. The make sure the
file reached the server correctly, you can download the file from the url:
http://www.matlus.com/upload/Youfilename
Let me know if you're interested in this unit. May be I'll write up a
tutorial for the TCP/IP section of my site<g>
--
Shiv Kumar
The Delphi Apostle
http://www.matlus.com
http://www.delphisoap.com