Forum Discussion
estradjs_130284
Nimbostratus
Aug 29, 2013Tmsh: 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
estradjs_130284
Nimbostratus
Sep 02, 2013Hello again Fred, You were completely right! I have tested your solution and it works perfectly well. I had tried using a sleep or after command, but it had no effect as it was not executed as a script apart form the iApp (it was only delaying the iApp final execution). Thank you very much for your help and the suggested workaround!
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects