Opened 4 months ago

#12996 new Bug report

"Preallocate space before downloading" doesn't work with SFTP

Reported by: EddyM Owned by:
Priority: normal Component: FileZilla Client
Keywords: preallocate Cc:
Component version: 3.65.0 Operating system type: Windows
Operating system version: Windows 10 Home 22H2 Build 19045.3448


I downloaded FileZilla as I wanted a Windows SFTP client which can preallocate space for downloaded files to avoid fragmentation, as the following two pages suggest it can:

After installing, I went into Settings and turned on "Preallocate space before downloading". But no matter what I try (different files, different ways of initiating the download, different destination drives), all files are split into many small pieces filling the tiny gaps in the drive, even though there is a very large contiguous block of space free (at least 600 GB).

I've tried to have a look through (the web version of) the SVN repository to see if I could find the relevant code, and it looks like there is code to handle the preallocation in trunk/src/engine/ftp/filetransfer.cpp but not in trunk/src/engine/sftp/filetransfer.cpp, which I'm guessing is the equivalent file for SFTP.

Can this be functionality please be added for SFTP (and other transports)?

As there's no mention of it only working for FTP in either of the pages linked above (I can't find any others mentioning the feature), and as the functionality is entirely local to the client device so I wouldn't have thought it would need different implementations for each transport, I'm guessing it's more of an oversight that it's been left out of the others so I've selected that this as a bug rather than a feature request.


Change History (0)

Note: See TracTickets for help on using tickets.