Forum Discussion
John_Gruber_432
Apr 28, 2011Historic F5 Account
perl SOAP::Lite and file encoding
I'm having problems using System::ConfigSync::upload_file with SOAP Lite in perl.
In perl everything is working fine when I read in binary files with binmode set. When I read in text files, no m...
Apr 28, 2011
It's funny, this is the second time this exact issue came up this week and it's the only time I can remember in the 6 years or so since I wrote that first ConfigSync sample.
Anytime in iControl you see a datatype of "char []" that means it's a base64 encoded byte array. All the strongly typed toolkits take care of it for you, but it's the perl and python's in the world that suffer from having to manually specify the encoding type.
As far as I know there are only a couple of methods that use the "char []" type and those are in System.ConfigSync and Management.LicenseAdministration.
-Joe
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