Welcome to the new Box Support website. Check out all the details here on what’s changed.

Azure Function - Downloading a Box File - The system cannot find the file specified

New post

Comments

1 comment

  • Phil Warwick

    Just a quick update on the above. I think this has been resolved by getting the temporary folder location appended to the file name in the FileOutputStrem.

    So the code now looks like:

    FileOutputStream stream = new FileOutputStream(System.getProperty("java.io.tmpdir")+info.getName());
     
     
    0
    Comment actions Permalink

Please sign in to leave a comment.