ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Merdes, Matthias" <matthias.mer...@eml.villa-bosch.de>
Subject AW: HTTP post of binary data?
Date Tue, 10 Jun 2003 11:16:07 GMT
hi Ludovic,

thanks a lot for the hint.
that might work, 
i would still need to add HTTP authorization support 
('user:passwort' as base64 enc)

regards


Matthias Merdes

________________________________________

Research Associate

European Media Laboratory
Villa Bosch
Schloss-Wolfsbrunnenweg 33
D-69118 Heidelberg
Germany
________________________________________

Phone: +49 6221 533 212
Fax:   +49 6221 533 298
Mail:  Matthias.Merdes@eml.villa-bosch.de
________________________________________



-----Urspr√ľngliche Nachricht-----
Von: llecanuet.cs@clearstream.com [mailto:llecanuet.cs@clearstream.com]
Gesendet: Freitag, 6. Juni 2003 18:02
An: Ant Users List
Cc: Ant Users List
Betreff: Re: HTTP post of binary data?


Hi Matthias,

        I was facing the same issue few weeks ago !
To solve it, I used a piece of JAVA code which simulate the HTTP upload 
from a form. 
(http://lists.pushtotest.com/pipermail/users/2002-March/000064.html)

I do not take time to convert it in a specific task but I was using it 
from the JAVA task and it works fine.

Cheers, 
Ludovic Lecanuet.




"Merdes, Matthias" <matthias.merdes@eml.villa-bosch.de>
06/06/03 11:59
Please respond to "Ant Users List"

 
        To:     "Ant Users List" <user@ant.apache.org>
        cc:     ^
        Subject:        HTTP post of binary data?



hi,

i am using the antelope external HTTP POST task and it works fine for
text files.
i cannot find out how to send binary data though.
(as in an http file upload to a webserver.
yes, i have to use POST b/c i have to automate an html form-based file
dialogue
that talks to a web app i cannot change...)

probably i would have to load binary data from a file,
somehow encode it, and then send it just like any other property. 

the problem is that the ant loadfile task is for textfiles,
also ant doesn't seem to have an encoding task...

anybody suggestions?

thanks
regards
matthias





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org





Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it, is prohibited and
may be unlawful. Any views expressed in this e-mail are those of the
individual sender, except where the sender specifically states them to
be the views of Clearstream International or of any of its affiliates or
subsidiaries.

END OF DISCLAIMER

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message