Recover files from previous cluster execution

carlosna
New Contributor II

I saved a file with results by just opening a file via fopen("filename.csv", "a").

Once the execution ended (and the cluster shutted down) I couldn't retrieve the file.

I found that the file was stored in "/databricks/driver", and that folder empties when the cluster shuts down.

Is there any way I can retrieve it?