FileZilla:如果源文件夹的文件较少,则覆盖

发布于 2024-10-10 21:35:34 字数 382 浏览 4 评论 0原文

我的远程服务器上有一个“图像”文件夹,其中包含 20 张图像。在图像文件夹的本地副本中,我更新了一些图像并删除了一些图像,最终剩下 15 张图像。

现在我想重新上传服务器上的整个文件夹,因此新的 Images 文件夹完全替换了服务器上当前的文件夹,因此我最终在服务器上得到了包含 35 个图像的 Images 文件夹。

我使用 FileZilla,当我只需将新的图像文件夹拖到远程目录中以替换现有的图像文件夹并点击“覆盖”时,它会覆盖已更改的图像,但会在服务器上保留总共 20 个图像。

我希望 FileZilla 做的是将整个文件夹替换为已更新图像和新图像数量 (15) 的新文件夹。

FileZilla 有没有简单的方法可以做到这一点? 如果有人能指出我正确的方向,我将不胜感激。

I have an "Images" folder on my remote server with 20 images. In my local copy of the Images folder I updated some images and deleted a few, and ended up with 15 images left.

Now I want to re-upload the whole folder on the server, so the new Images folder completely replaces the one that's currently on the server, and so I end up with Images folder on the server that has 35 images.

I use FileZilla, and when I simply drag the new Images folder onto the remote directory to replace the existing one, and hit 'Overwrite', it overwrites the images that were changed, but keeps the total of 20 images on the server.

What I want FileZilla to do is to replace the WHOLE folder with the new one that has updated images AND the new image quantity (15).

Is there a simple way to do that in FileZilla?
If anybody can point me in the right direction I'll appreciate it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

┾廆蒐ゝ 2024-10-17 21:35:34

现在在 FileZilla 视图中 ->目录比较是一个非常好的解决方案,您可以直观地看到仅在服务器上的文件并快速删除它们。我发现我比自动删除它们更喜欢它,因为例如,我需要保留服务器端实际上有额外的子文件夹。

Now in FileZilla View -> Directory comparison is a really good solution, you can visually see the files that are only on the server and delete them quickly. I found I liked it better than something that would delete them automatically since for example there are actually extra subfolders on the server side I need to keep.

一身软味 2024-10-17 21:35:34

删除远程文件并重新上传?如果您期望高级文件集操作,那么 FTP 是错误的协议。

Delete the remote files and reupload? If your're expecting advanced fileset operations, FTP is the wrong protocol.

指尖凝香 2024-10-17 21:35:34

Ipswitch FTP 正是这样做的 - 比较文件并让您替换丢失的文件、替换整个目录等。是的,您需要付费,但它不是很昂贵。

希望 Filezilla 能够做到这一点 - 正如你们中的一些人所说,这是一个简单的过程。如果你对此无能为力,为什么要表现出差异呢?这就是 Filezilla 让我有点恼火的原因。

Ipswitch FTP does exactly that - compare files and let's you replace missing files, replace whole directories etc.Yes you pay for it but its not very expensive.

Wish Filezilla would do it - as some of you say, it's a simple procedure. And why show the differences if you then can't do anything about them? That's why Filezilla mess me off a little.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文