We recently switched our code from using VIX to using the new web SDK guest services. We have noticed a strange issue with the InitiateFileTransferFromGuest call. It appears that the first time we call InitiateFileTransferFromGuest for a vm the size property of the returned FileTransferInformation object is 0. If we immediately recall InitiateFileTransferFromGuest we get the correct size and data returned on the HTTP GET call. Subsequent calls to the same vm seem ok after this. But this is repeatable on our other vm's.
We verified that the script if copied to the server and the script is ran as we are outputting the results into a file and this is the file being returned. So there is an issue here. these are both windows 2008 and 2003 vms.
Anyone else seen this behavior. We are also using the dotnet c# sdk.