SharePoint Document Issues

How to Automatically Upload a Server Excel File to SharePoint

Natalie TaylorNatalie Taylor Nov 3, 2026 868 views

Question details

The user needs to automate the daily upload of an Excel spreadsheet stored on a server to a SharePoint document library.

How to Automatically Upload a Server Excel File to SharePoint
Product
Microsoft Excel, SharePoint, Power Automate
Device & OS
not provided
Scenario
Automating regular document synchronization from a local or remote server to a cloud-based SharePoint library.
Observed behavior
The goal is to have the Excel file automatically created or updated in the designated SharePoint folder without manual intervention.
Before you start

Ensure you have an active Microsoft Power Automate license, the necessary access permissions to both the source server (e.g., via SFTP) and the destination SharePoint site, and that the target document library is fully set up.

Solution 1Recommended

Automate File Uploads using Power Automate

Create a scheduled Power Automate flow to retrieve the Excel file from your server and push it to SharePoint.

Power Automate is the most robust way to handle recurring uploads. Depending on your server setup, you might need to use an SFTP with SSH connector or set up an on-premises data gateway to allow Power Automate to access your local files securely.

1
Create a Scheduled Flow

Log in to Microsoft Power Automate and create a new 'Scheduled cloud flow'. Set the frequency for the automation (e.g., daily at a specific time) and click Create.

2
Retrieve the Excel File

Add a new step using the 'SFTP - SSH' connector (or 'File System' if using an on-premises gateway) and select the action 'Get file content' to retrieve your server Excel file based on its file path.

3
Push to SharePoint

Add another step using the 'SharePoint' connector and select 'Create file'. If you intend to overwrite the file daily, configuring 'Update file' may be required instead.

4
Configure SharePoint Parameters

Configure the SharePoint action by specifying the Site Address, Folder Path, and File Name. In the 'File Content' field, select the dynamic content output from the previous step.

5
Save and Test

Save your flow and run a manual test to verify file permissions, correct naming, and overwrite behaviors before relying on the schedule.

Connection Requirements: If your server is strictly on-premises and does not support SFTP, you will need to install and configure a Microsoft On-premises data gateway on the server before setting up the flow.
Free Microsoft Office alternative

Edit Your Spreadsheets Seamlessly with WPS Office

While setting up complex server-to-SharePoint workflows, you still need a reliable tool to view and edit your Excel spreadsheets locally. WPS Office is a lightweight, highly compatible, and free alternative to Microsoft Office that handles your data effortlessly.

  1. 1. Download and Install: Get the free WPS Office installer from the official website and run it on your PC or server.
  2. 2. Open Your Spreadsheets: Double-click any .xlsx or .csv file to open it instantly in WPS Spreadsheets with full formatting retained.
  3. 3. Edit and Save: Make your changes using familiar formulas and tools, then save directly to your server folder for Power Automate to pick up.
100% compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Lightweight application that runs smoothly on older servers and PCs.Familiar user interface makes it easy to transition without retraining.
QA img-9

Frequently Asked Questions

Can I overwrite an existing Excel file in SharePoint using Power Automate?

Yes. When configuring the 'Create file' action in SharePoint, if a file with the same name already exists, you can set the flow to automatically replace the existing file, or you can explicitly use the 'Update file' action instead to modify the existing document.

What if my server does not support SFTP?

If your server does not support SFTP, you can install the Microsoft On-premises data gateway on your server. This allows Power Automate to securely access your local File System and retrieve the Excel file without needing an active FTP/SFTP server.

Is Power Automate the only way to upload server files to SharePoint?

While Power Automate is the recommended no-code solution, you can also use PowerShell scripts combined with Windows Task Scheduler or custom REST API applications to automate file uploads to SharePoint if you prefer a scripting approach.