file.setDirtyMetadata( meta );
}
if ( progressObserver != null )
{
InputStream progressStream = new ProgressStream( file
.getStreamToStore( ), progressObserver );
file.setStreamToStore( progressStream );
}
sendUploadRequest( file );
if ( file.hasDirtyMetadata( ) )