[Midas] question about uploading file via web api

Mona Wong mona at sdsc.edu
Thu Jul 12 17:24:20 EDT 2012


	Thanks for the great info Michael!

> 	2.  If the filename already exists, will both midas.item.create and midas.upload.perform automatically create a new revision of that file in Midas?
> 
> 
> If you call midas.item.create and try to create an Item in a Folder where there is already an Item by that name, Midas will create a new Item in that folder with an incremented number.

	Instead of creating a new file item in that folder, what if I want to save a new revision of the same file item?  Can I skip the midas.item.create and midas.upload.generatetoken steps and go straight to the midas.upload.perform?

Mona

*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    Believing we are in control is an
    illusion that brings suffering.
*********************************************





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120712/50b2b901/attachment.html>


More information about the Midas mailing list