ascii-size-mode NcFTPd general.cf file configuration
Don't forget to restart NcFTPd after modifying the general.cf file.

If a file is transferred in ASCII mode, then the server needs to read through the entire file and convert it on-the-fly before sending it to the client. The FTP protocol requires that the SIZE command return the number of bytes that would be sent, including the conversion. Therefore, if a SIZE is requested while in ASCII mode, the server needs to convert the entire file internally in order to return the number of bytes to the client. Contrast with binary mode, where a SIZE command can simply query the current size of the file without processing the file.

This option is available to reduce the potentially performance-degrading effects of the SIZE command in ASCII mode (Note: this option has no effect for binary transfers, since there is no performance penalty). Several modes are available for this option:

Examples:

Recommendation:

Up
Previous: ascii-mode NcFTPd Home Next: auth-debug