ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Merdes, Matthias" <>
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)


Matthias Merdes


Research Associate

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

Phone: +49 6221 533 212
Fax:   +49 6221 533 298

-----Urspr√ľngliche Nachricht-----
Von: []
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. 

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.

Ludovic Lecanuet.

"Merdes, Matthias" <>
06/06/03 11:59
Please respond to "Ant Users List"

        To:     "Ant Users List" <>
        cc:     ^
        Subject:        HTTP post of binary data?


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
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?


To unsubscribe, e-mail:
For additional commands, e-mail:

Visit us at

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message