This discussion is archived
6 Replies Latest reply: Mar 26, 2013 9:26 AM by MFadel RSS

Unable to find method:  copy(,

MFadel Newbie
Currently Being Moderated

I'm trying to download a file using this link [].

The code contains a method that copies data from the BLOB to the output stream:

IOUtils.copy(blob.getInputStream(), outputStream);

I'm getting the following compilation: errorError(40,18): cannot find method copy(,

I tried importing many packages, but nothing worked.

Any thoughts?


  • Correct Answers - 10 points
  • Helpful Answers - 5 points