我正在使用 Filezilla 检查新文件是否到达 FTP 上的不同文件夹。但我总是必须使用F5.
当我单击之前已经单击过的文件夹时,刷新未完成。
当我单击文件夹时,如何使 Filezilla 始终更新(刷新)文件夹?
使用 FileZilla 3,这是不可能的。Ticket #8111是一个开放的功能请求,它要求提供一个选项来禁用目录列表的缓存。
您有两个选择:
在 FileZilla 2 中禁用目录缓存很简单:
如果无法降级,您可以下载、修改和编译源代码。
修改很容易。FileZilla 3.5.3 源代码的src/engine/directorycache.h文件包含以下内容:
/*
This class is the directory cache used to store retrieved directory listings
for further use.
Directory get either purged from the cache if the maximum cache time exceeds,
or on possible data inconsistencies.
[...]
*/
const int CACHE_TIMEOUT = 1800; // In seconds
Run Code Online (Sandbox Code Playgroud)
如您所见,默认超时为 1800 秒(30 分钟)。将超时设置为零应禁用目录缓存。
编译要困难得多。官方教程在 Windows 下编译 FileZilla 3解释了如何。
归档时间: |
|
查看次数: |
22411 次 |
最近记录: |