<p>I have a PHP client that requests an XML file over HTTP (i.e. loads an XML file via URL).  As of now, the XML file is only several KB in size.  A problem I can foresee is that the XML becomes several MBs or Gbs in size.  I know that this is a huge question and that there are probably a myriad of solutions, but What ideas do you have to transport this data to the client?</p>

<p>Thanks!</p>

Gallery2, which allows you to upload photos over http, makes you set up a couple of php parameters,
```
post_max_size
```
and
```
upload_max_filesize
```
, to allow larger uploads.  You might want to look into that.
It seems to me that posting large files has problems with browser time-outs and the like, but on the plus side it works with proxy servers and firewalls better than trying a different file upload protocol.