Yes i have done that already but i want to do the reverse which is to
download a file from the httpconnection

On Mar 18, 5:42 am, Andreas <andreas.bex...@gmail.com> wrote:
> Hi,
>
> What you want to do is to open a HttpURLConnection to the URL
> specified, and then open an OuputStream towards that connection. Then
> you open an InputStream from the File you want to send, and transfer
> the data from the File InputStream to the Http OutputStream. Easy as
> ð ;)
>
> Andreas
>
> On Mar 17, 1:45 am, KC Dev Android 06
>
> <kc.dev.android...@googlemail.com> wrote:
> > Hi, as the title says, is it possible to do so? in the examples found
> > herehttp://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4....
>
> > It seems that HttpClient only accepts a String as its parameter? how
> > do i go about sending/uploading a xml file using http?
>
> > thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to