[kdewebdev-site] NewStuff

Eric Laffoon eric at kdewebdev.org
Tue Mar 8 11:24:42 EST 2005


On Tuesday 08 March 2005 11:05 am, Andras Mantia wrote:
> On Tuesday 08 March 2005 20:56, Eric Laffoon wrote:
> > On Tuesday 08 March 2005 10:36 am, Andras Mantia wrote:
> > > > 2) Set up to allow passwordless uploads through user cookies
> > > > which is very easy if we're using HTTP.
> > >
> > > In this case I think we can forget the upload from the application
> > > unless you prove me that it works.
> >
> > Unless KIO specifically blocks HTTP when used this way or there is
> > some mysterious thing I don't know about then HTTP upload will work.
> > I submit you should trust me and prove to me it doesn't. ;-)
>
> You mean that if I put there "http://myserver/upload" KIO will simply
> upload files there? Well, I tested it locally and it does not work.

No, we will need to send some HTTP headers. Unfortunately there is a little 
bit of work here, but nothing I would imagine as challenging for you. I'm 
trying to think where the specs for HTTP headers are... probably at w3c.org. 
Anyway it is a matter of sending a few strings and it is more secure and 
generally better than FTP.
>
> > I'm
> > rather busy right now but I'll send you some scripts in a bit you can
> > look at. The important thing is that we can send to an HTTP address
> > and process it with an index.php file and life is good. We can do
> > pretty much anything once this is opened up.
>
> I'm waiting for such scripts... Remember we don't upload from a browser,
> but we try to *copy* files to an URL.
>
> Andras
I sent you the files. The point is that we can assemble an HTTP header and we 
can send other parameters as instructions to the file.
-- 
Eric Laffoon
Project Lead - kdewebdev module


More information about the kdewebdev-site mailing list