You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered an odd scenario where copying a file from SharePoint to an Azure Blob Container results in the file stream returning a different number of bytes to the length of the file (see BlobCopyException below):
I was wondering if someone has come across this before.
It is also not consistently the same file. The file size also doesn't seem to be a factor as some are only around 50Kb. This is only currently happening in a customer's environment. I'm using the same copy mechanism for internal archiving where we've copied thousands of files, some quite large, without any issues.
I've also added logging to check the file.LockedByUser.UserPrincipalName and file.CheckedOutByUser.UserPrincipalName but I suspect that it wouldn't be that.
I'm at a bit of a loss, so any assistance would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have encountered an odd scenario where copying a file from SharePoint to an Azure Blob Container results in the file stream returning a different number of bytes to the length of the file (see
BlobCopyException
below):I was wondering if someone has come across this before.
It is also not consistently the same file. The file size also doesn't seem to be a factor as some are only around 50Kb. This is only currently happening in a customer's environment. I'm using the same copy mechanism for internal archiving where we've copied thousands of files, some quite large, without any issues.
I've also added logging to check the
file.LockedByUser.UserPrincipalName
andfile.CheckedOutByUser.UserPrincipalName
but I suspect that it wouldn't be that.I'm at a bit of a loss, so any assistance would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions