Forum Discussion
Johnmec_45780
Apr 14, 2005Nimbostratus
Hi !
I have a problem. I tried uploading bigip_base.conf and other text files with $ConfigSync->upload_file following the code scheme given in iControl-9.0\sdk\samples\soap\perl\soaplite\System\ConfigSync.pl. I am running the script from a windows machine.
I managed to upload the files but when I edited them with vi I could only see numbers or character codes. I am afraid there is some problem with the binary format for the file or something weird happens in BIGIPs.
Debugging shows that the read bytes are correct right until the line in which $ConfigSync->upload_file is called. I am trying a similar piece of code to that used in upload() in iControl-9.0\sdk\samples\soap\perl\soaplite\System\ConfigSync.pl with the only difference of calling upload_file instead of upload_configuration (and the change for the parameter file_name.
Thanks,
David