• Post Reply Bookmark Topic Watch Topic
  • New Topic

Saving gif file from inputstream

 
Vinicius Carvalho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there! I'm using HttpClient to fecth some images (I do have permission for those ) and then save them on filesystem. What I was doing so far is getting the inputstream and saving it:



Well, but that its just not working (When I try to open, viewers complain about wrong headers). How can I save those images on my filesystem?

Regards
 
Vinicius Carvalho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, the problem was within the commons http client, was not authorized, really sorry. forget about this
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!