implicit MLSD's added
Hi,
I am using a WINSCP script with FTP protocol. It GET's all files in the root folder of the FTP server.
It works OK, but with more than 100 small files it gets pretty slow, only a few per sec when there are 1000+ files.
Looking at the logfile I found that after each file that is transferred, an MLSD command is send to the FTP server. It is not in the script. The wait time for the response from the server is the cause of the major slow-down.
Is there any way to avoid the MLSD's? I tried both active and passive session, but it makes no difference.
Edit: I use Winscp 5.1.5
Tom
I am using a WINSCP script with FTP protocol. It GET's all files in the root folder of the FTP server.
It works OK, but with more than 100 small files it gets pretty slow, only a few per sec when there are 1000+ files.
Looking at the logfile I found that after each file that is transferred, an MLSD command is send to the FTP server. It is not in the script. The wait time for the response from the server is the cause of the major slow-down.
Is there any way to avoid the MLSD's? I tried both active and passive session, but it makes no difference.
Edit: I use Winscp 5.1.5
Tom