Fix SharePoint Public Link Downloading Zero-Byte File in Safari
Question details
Safari automatically downloads a blank zero-byte file when an anonymous user attempts to open a public document sharing link.

- Product
- SharePoint and OneDrive
- Device & OS
- not provided
- Scenario
- A user clicks on a public 'Anyone with the link' URL generated from SharePoint or OneDrive while using the Safari web browser.
- Observed behavior
- Instead of viewing the document online, Safari automatically initiates and completes the download of an unknown, empty zero-byte file.
Verify that the sharing link provided is fully copied without missing characters, and make sure you have an alternative web browser installed on your device for testing purposes.
Open the Public Sharing Link in an Alternative Web Browser
Since this zero-byte download issue is a known browser-specific behavior in Safari, using a different browser will allow you to access the document immediately.
The automatic download of an empty file occurs due to a compatibility glitch between Microsoft's public link routing and Apple's Safari browser. Bypassing Safari entirely is the fastest workaround until Microsoft deploys a permanent server-side fix.
Highlight the SharePoint or OneDrive 'Anyone' link in your email or messaging app, right-click, and select 'Copy'.
Open a different web browser on your device, such as Google Chrome, Mozilla Firefox, or Microsoft Edge.
Click on the address bar at the top of the alternative browser, paste the copied URL, and press 'Enter' or 'Return' to load the document normally.

Report the Safari Compatibility Issue to Microsoft
Submit a bug report directly to Microsoft so their engineering team can investigate the Safari download behavior on 'Anyone' links.
Try WPS Office for Seamless and Reliable Document Sharing
If you are tired of browser-specific glitches and complicated sharing settings in Microsoft Office, try WPS Office. It is a free, lightweight suite that offers robust cloud collaboration and seamless document sharing without link compatibility issues.
- 1. Download and Install: Visit the official WPS website to download the free installation package for your operating system.
- 2. Open Your Files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint documents with complete format retention.
- 3. Share with Confidence: Click the 'Share' button in the top right corner to generate a stable public or private link that works smoothly on any browser.

Frequently Asked Questions
Is the zero-byte file downloaded by Safari harmful to my device?
No. A zero-byte file contains absolutely no data and cannot harbor viruses or execute malicious code. It is simply a harmless glitch caused by a miscommunication between Safari and the Microsoft server.
Why does this download issue only happen with 'Anyone' public links?
Public 'Anyone' links process anonymous authentication differently than secure, restricted links. Safari's strict privacy and cross-site tracking prevention features sometimes interrupt this specific authentication stream, resulting in a blank file download instead of a document render.
Can the file owner prevent this from happening to Safari users?
Yes. If the file owner changes the sharing settings from an 'Anyone with the link' to a 'Specific people' link that requires the recipient to sign in, the authentication method changes and usually bypasses the Safari download glitch.




