I have to download generated pdf file to custom directory, but the browser does not download file to the specific path. Below my generic method:
public void d