FlowmageDocs

Upload large file

BetaChanges data

Sends a Storage file to a OneDrive or SharePoint folder in parts.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
Drive of"user" or "group" or "site" or "drive"
OwnerRequiredThe person's id or sign-in address, the group's id, the site's id or the drive's id — whichever Drive of names.
FolderThe folder's id, or its path from the drive's root starting with /. Leave empty for the root.
Storage fileRequiredA file's name is the whole key — exports/report.csv is a name, not a folder. It is sent in 5 MB parts, so the run's file bound limits it — Storage holds up to 100 MB per file — not Microsoft Graph's.
File nameThe name in the folder. Leave empty for the Storage name after its last /.
If the name is taken"replace" or "rename" or "fail"
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
driveOf"user" or "group" or "site" or "drive", by default "user"
ownertext
foldertext
filetexta file name, listed in `requires.files`
nametext
conflictBehavior"replace" or "rename" or "fail", by default "replace"

Output

FieldType
idFile idstring
webUrlLink in Microsoft 365string
itemFileobject
Sample output, and the expression for each field
  • id"01BIG"
  • item
    • id"01BIG"
  • webUrl"https://contoso.sharepoint.com/dump"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "conflictBehavior": "replace",
    "connection": "<connection id>",
    "driveOf": "user",
    "file": "<storage file>",
    "folder": "",
    "name": "",
    "owner": "<owner>"
  },
  "label": "Upload large file",
  "type": "graph.uploadLargeFile",
  "version": 1
}