[Midas] where to store "temp" files

Zach Mullen zach.mullen at kitware.com
Wed Jul 4 12:35:34 EDT 2012


The thumbnailcreator example is a good one of how we do it; we use a
subdirectory of /data, and then make sure we clean up any temporary files
after we are done.  As long as the server has appropriate permissions to
write into the subdirectory, that should work fine.

Thanks,

Zach

On Wed, Jul 4, 2012 at 12:30 PM, Mona Wong <mona at sdsc.edu> wrote:

>
>         My module needs to create some temporary files for the user.
>  What's the best way to do this?  What's the best place to store them?
>
>         I see midas/data/ and I'm looking at the thumbnailcreator module
> for an example.  Anything else I should be aware?
>
> thanks,
> Mona
>
>
> *********************************************
>     Mona Wong
>     Web & iPad Application Developer
>     San Diego Supercomputer Center
>
>     "Forgive everyone everything."
>                                 -- Regina Brett
> *********************************************
>
>
>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>



-- 
Zach Mullen
R & D Engineer
Kitware Inc.
919-869-8858
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120704/3e11e1e4/attachment.html>


More information about the Midas mailing list