estradjs_130284
Aug 29, 2013Nimbostratus
Solved
Tmsh: problem moving two files to the Sandbox (from an iApp)
Hello all,
While I was developing an iApp, I needed to move two different files from a linux folder (/var/tmp) to the APM's sandbox.
This can be done using the TMSH 'modify' command, here an example:...
- Aug 30, 2013
I see the issue now. I filed it as a product bug. Here is a workaround that calls a script from within the iapp and uses a time delay to solve the timestamp issue.
set fh [open my_script w] puts $fh " tmsh modify apm resource sandbox hosted-content { files add {\ foo1.xml { folder /test local-path /var/tmp/bar1.xml }}} sleep 1 tmsh modify apm resource sandbox hosted-content { files add {\ foo2.xml { folder /test local-path /var/tmp/bar2.xml }}} " close $fh exec bash my_script