WinSCP如何查看未显示和复制的文件?

How to view files not displayed and copied in WinSCP?

复制1925个文件(1.8GB)时fromLinux机器toWindows机器(安装WinSCP的地方),只有1882个文件(1.53GB)结束在 Windows 机器上。

以下对类似查询的回复可能是 cause/s:

For security reasons WinSCP does not display file with suspicious filenames (such as dots only) in file panel. Hence you cannot select them for download.

https://winscp.net/forum/viewtopic.php?t=7029

The second error is probably because of a too long path. WinSCP does not support paths longer than 260 characters with FTP protocol: https://winscp.net/tracker/821

https://winscp.net/forum/viewtopic.php?p=52873#52873

我的问题是,我如何知道哪些文件没有显示,因此没有传输? (这样我就可以以某种方式手动确保所有 Linux 文件最终都在 Windows 机器上)。

如果是只涉及10个文件的场景,我可以很容易地做一个视觉diff,但是当有将近2000个文件时怎么办?

=======

Troubleshooting/Solution:

远程 (Linux):

WinSCP > 右键单击​​文件夹 > 属性 > 大小:'Calculate':

1885 个文件,41 个文件夹,1670MB (1,751,108,846 B)

本地 (Windows):

WinSCP > 右键单击​​文件夹 > 属性(注意:此处触发不同的上下文菜单):

1885 个文件,40 个文件夹,大小:1.62GB(1,751,108,846 字节)

远程 (Linux):

在 Linux 上使用默认文件管理器 Nemo 2.8.6 时:

右键单击文件夹 > 属性:

"Contents: 1,925 items, totalling 1.8GB".

结论:

所以唯一剩下的异常是:

如果你能看到 remote panel, use the Commands > Compare directories command 中的所有 1925 文件让 WinSCP 找到,缺少什么。


虽然我猜真正的问题是,所有的文件实际上都被下载了。但是您在 Linux 目录中有同名文件,只是大小写不同。 Windows不区分大小写,所以下载时像FILE.txt这样的文件会覆盖file.txt

在这种情况下,比较目录 命令也不会发现任何差异。