Re: Slow ListDirectory Method
Thanks for the fast response and thoughtfulness Martin. I have tried another client that offers recursion (lftp on a linux box) and see the same issue. It seems that changing directories comprises the main performance hit. So, I suspect that even using scripting would result in the same issue. In my case, I often have just 1-2 files per directory, so I have to traverse each one looking for new files. Even a mask would not work, because the timestamp on the directory remains unchanged, when a new file is deposited or changed.
I am particularly impressed with Windows tree command and its speed, even traversing directories. If I had more access to the FTP server's OS, I might be able to do a tree, but I don't.
I think what I might need to do -- if faster performance is necessary -- is to run a nightly batch and create a tree file for each account.
Thanks again, for your response and your excellent work on WinSCP.
I am particularly impressed with Windows tree command and its speed, even traversing directories. If I had more access to the FTP server's OS, I might be able to do a tree, but I don't.
I think what I might need to do -- if faster performance is necessary -- is to run a nightly batch and create a tree file for each account.
Thanks again, for your response and your excellent work on WinSCP.