Skip to main content

How to Upload Files to a Folder in a SharePoint Document Library

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

To put files into a folder of a SharePoint document library, open the folder first, then use Create or upload → Files upload. The files land in whichever folder is open, so the folder you see is the folder you get.

The example uploads two small text files, hello.txt and notes.txt, into a folder called Examples in a communication site's Documents library. The folder was made with How to Create a Folder in a SharePoint Document Library.

Prerequisites​

  • Permission to add files to the library, such as the Edit permission a site's members have.

Step 1: Open the Folder​

Open the library, then select the folder's name. The breadcrumb at the top shows where you are, here Documents › Examples, and an empty folder says This folder is empty:

The Examples folder in the Documents library: the breadcrumb Documents > Examples, the command bar with Share, Copy link, Add shortcut to OneDrive, Forms, Download, Edit in grid view and Create or upload, and the message This folder is empty, Drag and drop files here to access them from any device

Check the breadcrumb before uploading: files go into the folder it ends with.

Step 2: Select Files Upload​

Select Create or upload at the right of the command bar. Its menu starts with Folder, Files upload and Folder upload, followed by new Office documents. Select Files upload:

The Create or upload menu with Folder, Files upload outlined in red, Folder upload, Word document, Excel workbook, PowerPoint presentation and OneNote notebook

Folder upload is for a whole folder from your computer. To upload single files, use Files upload.

Step 3: Choose the Files​

Your browser opens its window for choosing files. Select the files and select Open. Microsoft's article on uploading says you can pick more than one by holding down Ctrl or Shift while you select them. I chose both text files.

Step 4: Check the Upload​

A message said Uploaded 2 items to Examples, and both files appeared in the folder, modified a few seconds ago by me:

The Examples folder now listing hello.txt and notes.txt, each Modified A few seconds ago and Modified By Admin User

Common Mistakes​

MistakeWhat happensDo this instead
Uploading from the library's top levelThe files land outside the folderOpen the folder first and check the breadcrumb
Choosing Folder upload for a few filesIt's for uploading a whole folder from your computerUse Files upload
Uploading into a library that needs approvalOther people don't see the files yetApprove them, or ask whoever approves content in that library

Troubleshooting​

SymptomLikely causeFix
You can't add files to the libraryYour access is read-onlyAsk the site's owner for Edit access
A file won't upload because of its nameThe path is too long: SharePoint allows up to 400 characters for the whole path, file name includedUse a shorter name or a folder nearer the top
Large uploads fail or time outMicrosoft's article warns of size limit and timeout errors for large files, or many files that add up to a large sizeUpload fewer files at a time

FAQ​

Can I drag files in instead?​

The empty folder itself says Drag and drop files here to access them from any device. This guide uses the menu instead.

What happens if the library requires check-out?​

Microsoft's article says a file you upload to such a library is checked out to you first, and you have to check it in before other people can edit it.

How do I get the files back out?​

Select them and use Download: How to Download Files from a SharePoint Document Library.

Conclusion​

Open the folder, select Create or upload → Files upload, choose the files and select Open. They appear in the folder within seconds, and the breadcrumb tells you which folder that is.

Additional Resources​