finish_file_upload


Description:

[ Version ( since = "0.8.0" ) ]
public PicasaWebFile finish_file_upload (UploadStream upload_stream) throws Error

Finish off a file upload operation started by upload_file, parsing the result and returning the new PicasaWebFile.

If an error occurred during the upload operation, it will have been returned during the operation (e.g. by splice or one of the other stream methods). In such a case, null will be returned but error will remain unset. error is only set in the case that the server indicates that the operation was successful, but an error is encountered in parsing the result sent by the server.

Parameters:

this

a PicasaWebService

upload_stream

the UploadStream from the operation

Returns:

the new PicasaWebFile, or null; unref with unref