Forum Discussion
Tmsh: problem moving two files to the Sandbox (from an iApp)
- 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
What TMOS version are you running? I had no problem adding 3 files to the sandbox on v11.4.
root@(fs-ve02)(/Common)(tmos) modify apm resource sandbox hosted-content files add { file1.html { folder /test local-path /var/tmp/scriptd.out }} root@(fs-ve02)(/Common)(tmos) modify apm resource sandbox hosted-content files add { file2.html { folder /test local-path /var/tmp/lind.out }} root@(fs-ve02)(/Common)(tmos) modify apm resource sandbox hosted-content files add { file3.html { folder /test local-path /var/tmp/logd.out }}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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