温生 發表於 2025-5-23 00:00:00

Windows实现跨机器与Mac进行文件共享的几种方案

<div id="navCategory"><h5 class="catalogue">目录</h5><ul class="first_class_ul"><li>方案一、文件夹共享<ul class="second_class_ul"><li>一.共享设置</li><li>二.创建文件夹并设置</li></ul></li><li>方案二、FTP服务器<ul class="second_class_ul"><li>一.安装FTP服务</li><li>二.创建FTP服务器的用户名和密码</li><li>三.打开IIS创建FTP站点</li><li>四、测试FTP服务</li></ul></li><li>Windows和Mac设置局域网共享<ul class="second_class_ul"></ul></li></ul></div><p>使用的windows版本:win11</p>
<p class="maodian"></p><h2>方案一、文件夹共享</h2>
<p class="maodian"></p><h3>一.共享设置</h3>
<p><strong>1.打开网络与共享中心</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-25052311404O12.png" /></p>
<p><strong>2.更改高级共享设置</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-25052311404GL.png" /></p>
<p><strong>3.使用专用网络</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-25052311404W03.png" /></p>
<p>上述操作也有可能连接不上我们的windows电脑,可使用下面的方法:</p>
<p><strong>第一步</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114049593.png" /></p>
<p><strong>第二步</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114049641.png" /></p>
<p><strong>第三步连接服务器</strong></p>
<p>填smb:局域网 IP (例如 smb://192.168.0.107)</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114050Q0.png" /></p>
<p>填好后点击连接</p>
<p><strong>第四步</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114050R6.png" /></p>
<p>1.微软用户</p>
<p>名称填微软账号(QQ邮箱)</p>
<p>密码填微软密码</p>
<p>2.本地用户</p>
<p>名称填计算机本地名称</p>
<p>密码填计算机本地设置的密码</p>
<p class="maodian"></p><h3>二.创建文件夹并设置</h3>
<p><strong>1.右键文件夹属性</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114051C8.png" /></p>
<p><strong>2.点击共享</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114051K8.png" /></p>
<p><strong>3.添加共享</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114052160.png" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114052P6.png" /></p>
<p><strong>4.高级共享设置</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114052Y5.png" /></p>
<p><strong>5.权限</strong></p>
<p>权限1</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114053949.png" /></p>
<p>权限2</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-2505231140542Y.png" /></p>
<p>权限3</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114055L5.png" /></p>
<p><strong>6.测试</strong></p>
<p>创建txt文件输入一些内容</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114055211.png" /></p>
<p>然后在另一台电脑上点击网络找到电脑的名称点击即可。</p>
<p class="maodian"></p><h2>方案二、FTP服务器</h2>
<p class="maodian"></p><h3>一.安装FTP服务</h3>
<p><strong>1.打开控制面板,点击程序</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114055Q5.png" /></p>
<p><strong>2.在程序和功能里面打开启用和关闭Windows功能</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114055258.png" /></p>
<p><strong>3.勾选Internet Information Services及以下相关选项,然后点击&quot;确定&quot;</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114056440.png" /></p>
<p class="maodian"></p><h3>二.创建FTP服务器的用户名和密码</h3>
<p><strong>1.打开控制面板,点击用户账户</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114056337.png" /></p>
<p><strong>2.点击管理其他用户</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-25052311405L12.png" /></p>
<p><strong>3.在电脑设置中添加新用户</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-25052311405L32.png" /></p>
<p>点击添加新用户按提示创建即可</p>
<p>注意:win11的设置可能要提供Micorsoft账户</p>
<p class="maodian"></p><h3>三.打开IIS创建FTP站点</h3>
<p><strong>1.打开开始菜单输入IIS,点击IIS管理器</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-25052311405RR.png" /></p>
<p><strong>2.添加Ftp站点</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-25052311405WO.png" /></p>
<p><strong>3.填写ftp站点信息</strong></p>
<p>信息1</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114059450.png" /></p>
<p>信息2</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114059261.png" /></p>
<p>信息3</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-25052311405b55.png" /></p>
<p>点击完成后FTP服务器就搭建好了</p>
<p class="maodian"></p><h3>四、测试FTP服务</h3>
<p>1.打开我的电脑,输入ftp://xxx(你的ftp地址)</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114100G1.png" /></p>
<p>2.输入账户和密码</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="在这里插入图片描述" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114101X5.png" /></p>
<p class="maodian"></p><h2>Windows和Mac设置局域网共享</h2>
<p>1、首先在windows电脑右下角点击网络连接,打开网络共享。</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114101c3.png" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114101504.png" /></p>
<p>2、打开文件夹的共享属性</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114102141.png" /></p>
<p>3、拿到windows的局域网ip,直接用网络名也可以。</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114102142.png" /></p>
<p>4、然后打开mac电脑,点击前往,选择连接服务器选项。</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114102611.png" /></p>
<p>5、在弹出窗口中输入windows电脑的IP地址或网络名,点击链接。</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114103526.png" /></p>
<p>6、如果是第一次链接,点击访客或者注册用户(输入目标机器用户名密码),若是第二次连接则不会再提示,直接进入以下界面。这样就可以查询共享文件了。</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250523/2-250523114103P1.png" /></p>
<p>7、可以在mac上像操作本地文件夹一样操作windows文件夹了,可以在mac本地文件夹和windows远程文件夹之间任意的复制粘贴截切删除等。</p>
<p>附:</p>
<p>mac双系统中的win10访问windows电脑时,可以打开对方windows共享文件目录,但是没权限访问里面的文件,也没有提示输入远端的用户名和密码,解决办法是手动添加Windows凭据:</p>
<blockquote><p>打开命令窗口,方式 WIN + R 。</p>
<p>输入 &quot;control userpasswords2&quot; 内容,之后回车</p>
<p>选择界面左上角&rdquo;高级&ldquo;窗口,点击&rdquo;管理密码&ldquo;。</p>
<p>进入到&ldquo;凭据管理器&rdquo;界面,选择&ldquo;Windows凭据&rdquo;。</p>
<p>点击下方中对应的网络地址和账号,在下拉内容中选择&ldquo;编辑&rdquo;。</p>
<p>修改对应的账号密码内容并保存。</p>
<p>如果不存在对应的网络地址和账号,手动添加。</p>
<p>退出后,在我的电脑上输入访问路径,可直接访问远端电脑。</p></blockquote>
頁: [1]
查看完整版本: Windows实现跨机器与Mac进行文件共享的几种方案