hi all, here is what i want to do and need some help in it.
I have a source url and a destination url. what i want to do is copy a file from a source url to the destination url, but I want to avoid copying the file locally on my system before uploading the file again.
Also what is must to have is that we should get the content-length because the destination api requires it (its custom). If I use the HttpUrlConnection class then i can get that....but AFAIK there are some issues in using java.net for anything other than GET. (the source files are huge image/video files), so i can using apache httpclient 3.1. But how do i approach this?
any thoughts?
-Ash