Hi,
I noticed today that when I download a workflow it has a magic
number appended to it, e.g.
example_of_a_conditional_execution_workflow_7882.xml . This seems to
be to avoid a clash between files with the same name, but can be
overcome by storing the original filename and setting it when
initiating the download, e.g:
send_data <data>, :filename => @workflow.original_filename,
:content_type => <content_type>, :disposition => 'attachment'
Its particularly annoying when downloading a pack, as every file in
the pack is renamed to append the _12345.xml . In my case I wish to
reuse the files outside of myExperiment and have needed to manually
rename each individual file back to its original.
Why not use the original name, and only append the magic number if a
clash actually occurs ?
regards,
Stuart.
_______________________________________________
Myexperiment-discuss mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/myexperiment-discuss