Transfer a file with Share Anything用 Share Anything 扫码传文件
Use this walkthrough to move a PDF from a Mac or Windows PC to an iPhone or Android phone. Install Share Anything on the computer. The phone can receive the file using its camera and browser.这份教程以 PDF 为例,演示如何从 Mac 或 Windows 电脑传到 iPhone 或安卓手机。电脑安装 Share Anything,手机用系统相机和浏览器就能接收。
Send a PDF from your computer to your phone把电脑上的 PDF 传到手机
- Put both devices on a trusted Wi-Fi network. Start with a small PDF you can easily identify, such as a sample named
transfer-test.pdf. - Open Share Anything on the computer, select the PDF and leave its sharing screen open. Use the file’s QR code from that screen.
- Scan with the phone’s system camera, open the detected link and wait for the browser to receive the file. If the browser previews the PDF, use its save or share menu to keep a copy.
- Open the saved copy from the phone’s files or downloads and check that its pages load. End the share on the computer once you’re done.
- 把两台设备连到同一个可信的 Wi-Fi。先选一份容易辨认的小 PDF,例如名为
transfer-test.pdf的测试文件。 - 在电脑上打开 Share Anything,选中 PDF 并保持分享界面打开。使用该界面上为这份文件生成的二维码。
- 用手机系统相机扫码,打开识别出的链接,等待浏览器接收。如果浏览器直接预览了 PDF,用浏览器的保存或分享菜单留一份副本。
- 到手机的文件或下载目录打开保存的副本,确认页面能正常显示,再在电脑上结束分享。
To confirm the PDF is saved locally, close the sharing window on the computer, then reopen the copy from the phone’s files app. A browser tab can still show a preview after the sender stops.要确认文件已经存到手机上,可以关闭电脑上的分享窗口,再从手机的文件管理器打开保存的副本。发送端停止后,浏览器之前打开的标签页仍可能显示预览。
Find where the transfer stopped按现象排查传输卡在哪里
- The camera doesn’t detect the code.
- Show the full QR code, reduce glare and move the phone back until the camera can focus. Confirm that the code is on the app’s file-sharing screen.
- The camera detects a link, but the browser times out.
- Keep the sharing window open and the computer awake. Check both devices are on the same local network. Guest Wi-Fi can block device-to-device connections even when the network name matches. If the system asks for local network access, allow it for Share Anything. Try again on a trusted private network if needed.
- A previously scanned link no longer opens.
- If you closed the sharing window before saving, select the PDF again and scan the code on the new sharing screen. Leave that screen open, then check the saved copy from the phone’s files app before closing it.
- The PDF opened, but you can’t find it later.
- Check the browser’s downloads. If the PDF was only previewed, reopen it while the share is active and explicitly save a copy to the phone.
- 相机识别不出二维码。
- 把二维码完整显示在屏幕上,避开反光,稍微拉远手机让相机对焦。确认扫的是应用内文件分享界面上的码。
- 相机识别出了链接,但浏览器连接超时。
- 保持电脑唤醒、分享窗口打开,检查两台设备是否连到同一个局域网。即使 Wi-Fi 名称相同,访客网络也可能禁止设备互访。如果系统提示本地网络权限,请允许 Share Anything 访问。必要时换到可信的私人网络再试。
- 之前扫过的链接打不开了。
- 如果手机还没保存就关掉了分享窗口,请重新选择 PDF,扫描当前分享界面的二维码。先保持发送端开启,等手机从文件管理器打开保存的副本后再关闭。
- PDF 打开过,但后来找不到。
- 先检查浏览器的下载记录。如果之前只是预览,趁分享仍打开时再次打开 PDF,并手动保存一份副本。
What we verified本次验证范围
In a development check with macOS 26.6.2 and a Pixel 7, the phone received a sample PDF over Wi-Fi and the downloaded bytes matched the original. The old URL refused connections after the sender stopped, and downloading worked again after sharing restarted. This check used a test HTTP client on the phone.在 macOS 26.6.2 和 Pixel 7 的开发测试中,手机通过 Wi-Fi 接收了一份测试 PDF,下载内容与原文件逐字节一致。关闭分享后,旧链接无法连接。重新分享后,手机恢复下载。本次测试使用手机上的 HTTP 测试客户端。
Browser download, Optical Transfer or clipboard?浏览器下载、光传输和剪贴板怎么选
- Browser download. Choose this for an ordinary file transfer or if the phone has no Share Anything app. The QR code contains a local download link and the browser receives the file over the network.
- Optical Transfer. Use Share Anything on both devices. Select Optical Transfer on the sender, then open Scan QR code on the receiver and keep its camera pointed at the sender’s screen. The changing QR codes carry the file data. Both devices still need a local network for coordination. When reception finishes, choose Save file.
- Share clipboard. Use this for a short link or note you’ve copied. Content QR carries the text itself, so anyone who can scan the code can read it. Longer text may be shared as a downloadable text file.
- 浏览器下载。日常传文件,或手机没安装 Share Anything 时,用这个方式。二维码包含局域网下载链接,手机浏览器通过网络接收文件。
- 光传输。两台设备都打开 Share Anything。发送端选择 Optical Transfer,接收端选择 Scan QR code,相机持续对准发送端屏幕。变化的二维码携带文件内容,两端仍需通过局域网协调传输。接收完成后点 Save file 保存。
- 分享剪贴板。复制了短链接或短笔记时可以用这个方式。内容二维码直接携带文字,能扫码的人就能读取。较长的文字可能以可下载的文本文件分享。
Get Share Anything下载 Share Anything · How shared files are handled了解分享文件的处理方式 · Source and implementation notes源代码与实现说明
KungApp