eawag-rdm / resup

Batch upload and download of resources to and from data package in CKAN.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

resup creates temp files in upload source directory.

meowcat opened this issue · comments

For resup put, resup creates parts-files in a subfolder of the directory from where I am uploading. To me this is unexpected, particulary when I'm uploading from a network share. I don't even expect to always have write access to a directory from which I am uploading. Can you use a regular tempdir instead?

Valid point. The "standard" temp dirs are problematic for other reasons. But I consider adding an option to allow choosing the directory for operationally required persistence.

Option to allow choosing the temp-directory added in fbda013 and 67093f2.