Forum Discussion
Johnmec_45780
Apr 14, 2005Nimbostratus
Hi,
Thanks for the fast response. I am just trying with method identical to the uploadConfiguration method in the ConfigSync.pl sample script.
The only changes I have made is replacing the config_name named parameter by file_name (as the upload_file seems to require).
I also commented $file_data because I did not know what was the use for that line..
$file_data =
$FileTransferContext = { file_data => $file_data, chain_type => $chain_type };
$soap_response = $ConfigSync->upload_file
(
SOAP::Data->name(file_name => $remoteName),
SOAP::Data->name(file_context => $FileTransferContext)
SOAP::Data->name(file_data => $file_data),
SOAP::Data->name(chain_type => $chain_type)
);
Thanks
David