|Subject:||Re: newbie : Http upload|
|Posted by:||TheBigBadWolf (wolfganglechnerPLEA…@NOSPAMgmx.at)|
|Date:||Fri, 12 Sep 2003|
in the oncommandget event :
if arequestinfo.Command = 'POST' then
m_Stream := TFileStream.Create('d:\bekommen.bmp', fmCreate);
arequestinfo.PostStream.Position := 0;
but arequestinfo.poststream is always nil
"TheBigBadWolf" <wolfganglechnerPLEA…@NOSPAMgmx.at> wrote in message
> I´m interested in programing a server-client application.
> The client can upload and download files. I did this
> with idFtp component but now have problems with
> firewalls. So I want to do it with http protocol.
> Downloading is ok : client.get and server.oncommandget
> But how does upload work?
> I use client.post('something', here comes a TStream)
> but which event triggers this command in the server
> Any better ideas than using http?
> thanks in advance
newbie : Http upload posted by TheBigBadWolf on Fri, 12 Sep 2003