Forum Discussion
Steve_Brown_882
Feb 16, 2011Historic F5 Account
pyControl download_file
Has anyone used the config sync download file functionality in python. I have gotten the command to work as follows, but I am not really sure what I need to do to get the resulting data into a file on my machine...
b.System.ConfigSync.download_file(file_name = "/var/local/ucs/backup.ucs", chunk_size = 65536, file_offset = 0)
- Steve_Brown_882Historic F5 AccountJust getting back to testing this out, it works great! I can't wait to tie this in with the backup portion of my script.
- L4L7_53191NimbostratusJason: thanks for the clean-up, and codeshare post. I'll add this to the utils module for the next pyControl release.
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