Closed GoogleCodeExporter closed 9 years ago
Here's a possible way to follow redirect.
http://www.mkyong.com/java/java-httpurlconnection-follow-redirect-example/
And use org.apache.commons.io.FileUtils.copyURLToFile(URL, File) to save the
file.
http://stackoverflow.com/questions/921262/how-to-download-and-save-a-file-from-i
nternet-using-java
Original comment by ritza...@gmail.com
on 21 Oct 2014 at 7:36
https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-web/gra
ils-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy#L1759
Check if URL redirects and follow redirect if it does.
Check response if 200 then download the file.
Original comment by ritza...@gmail.com
on 21 Oct 2014 at 7:40
Fixed in
https://github.com/bigbluebutton/bigbluebutton/commit/9effb009d0cf84b1b2a6946d74
647941e48002f9
Original comment by ritza...@gmail.com
on 23 Oct 2014 at 7:07
Original issue reported on code.google.com by
calvin.walton@kepstin.ca
on 14 Oct 2014 at 4:13