SharePoint On-Prem How to upload/ update files in Master Page Gallery via File Explorer?

ChingSong Lim 60 Reputation points
2024-05-07T07:49:47.8133333+00:00

Objective

  • To upload/ update files in master page gallery via File Explorer.

Problem

  • When trying to copy and paste the file from local machine to the site master page gallery via file explorer, encountering error "This is no longer located in <Local machine path>".
  • But there is no problem to copy and paste to another folder/ location within the local machine. only not able to copy to the site via file explorer.
  • User's image

Thanks in advanced for the reply. thanks thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,913 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Haoyan Xue_MSFT 20,986 Reputation points Microsoft Vendor
    2024-05-08T06:53:38.8366667+00:00

    Hi @ChingSong Lim ,

    You can map your network drive. This will enable you to drag-and-drop files into the Master Page Gallery with Windows Explorer.

    How to map your network drive:

    1. From Settings menu, select Design Manager. Design Manager
    2. On the Design Manager Welcome page, select 3. Upload Design Files. Upload design files
    3. On the Upload Design Files page, copy the URL to your design files. Link Design Files Note The next steps will vary, depending on your computer's operating system. This example shows how to map a network drive on a computer that is running Windows 8.x.
    4. Open Windows Explorer. Right-click Network, and then select Map network drive. Map Network Drive
    5. In the Folder field, paste the URL that you copied in step 3, and then select Finish. Paste URL
    6. An explorer window with your Master Page Gallery content opens. Explore Master Page Gallery

    Reference:https://learn.microsoft.com/en-us/sharepoint/administration/stage-6-upload-and-apply-a-new-master-page-to-a-publishing-site


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.