Ciao, ho un problema quando tento di salvare il pdf in questo modo:

pdf.Output("magazzino.pdf")

L'errore che ottengo è:"FPDF error: Unable to create output file: magazzino.pdf"


Nel manuale dice così...
Output([string file [, boolean download]])


Dove sbaglio?