Microsoft SharePoint · Arazzo Workflow
SharePoint Upload a Document and Verify It
Version 1.0.0
Survey a library folder, upload a file with overwrite, then read the bytes back.
View Spec
View on GitHub
CollaborationDocument ManagementEnterprise Content ManagementIntranetMicrosoftArazzoWorkflows
Provider
Workflows
upload-document
Upload a file into a SharePoint document library and verify it downloads.
Lists the target folder to reveal any file that would be overwritten, uploads the document, and downloads it back to confirm the round trip.
1
surveyFolder
getFilesInFolder
List the folder before writing. The upload path carries overwrite=true, so this is the caller's only chance to see what an existing file of the same name looks like before it is replaced.
2
uploadDocument
uploadFile
Upload the document as a raw octet-stream. The operation overwrites any file already at this name and returns the created file's metadata, including the server-relative URL used to read it back.
3
verifyDownload
downloadFile
Download the file back from the server-relative URL the upload returned. A 200 here is the proof that the document is stored and retrievable, not merely that the write was accepted.