General questions - WeOnlyDo Discussion board

General questions (General questions)

by MJLeaver, Wednesday, January 05, 2011, 09:23 (5072 days ago)

Hi,

We're currently looking to switch to this FTP component from one of your competitors ;) So far, so good, but I've got some quick questions:

Is there a way to force LIST to be used even if FTP server supports MLST? We've come across FTP servers in the past that have broken implementations of MLST so we want to use LIST instead in some cases.

When MLST or LIST is called, the component uses ASCII mode even when I've set it to Binary mode. We need Binary mode because we want the actual size of the file. I can change the command in the PreTranslateCommand command, but is there an easier/better way? I want to switch to binary mode and leave it in binary mode.

When retrieving a file it sends superfluous commands, i.e. switches to binary mode (even if when it's already in binary mode),
and it changes the current directory (even when it's changing to a directory it's already in). I've already set SmartGet and SmartPut
to FALSE, but it still sends these commands. I need to reduce the number of calls to the FTP server (for performance reasons), so how
can I stop it sending these commands?

Thanks!


Complete thread: