Filezilla: How to refresh a FTP folder automatically

I'm using Filezilla to check if new files arrived in different folder on a FTP. But I always have to do a refresh of the folder manually with F5.

When I click on a folder that I already clicked before, the refresh is not done.

How can I enable Filezilla to always update(refresh) a folder when I click it?


Solution 1:

With FileZilla 3, this isn't possible. Ticket #8111 is an open feature request that asks for an option to disable the caching of the directory listing.

You have two options:

  • Install FileZilla 2.2.32.

    Disabling the directory cache is straightforward in FileZilla 2:

    screenshot

  • If downgrading is not an option, you can download, modify and compile the source code.

    The modification is easy. The file src/engine/directorycache.h of the FileZilla 3.5.3 source code contains the following:

    /*
    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
    

    As you can see, the default timeout is 1800 seconds (30 minutes). Setting the timeout to zero should disable the directory cache.

    Compiling is a lot more difficult. The official tutorial Compiling FileZilla 3 under Windows explains how.