Hi,
I have my sftp server working, but I noticed that after logon there is a long pause between the session initiating, reading the remote directory and then listing it.
(this is with Lazarus and FPC by the way)
It's odd though, most of the times the dir listing is slow, but then once in awhile it's really fast.
Do you guys have any idea what may be going on?
is FTP server using Nagel? Directory listing is very slow.
Re: is FTP server using Nagel? Directory listing is very slow.
With winscp:
it gets to Authenticated pretty fast, then
winscp reports:
Starting the session...
<about 5 seconds elapse>
Reading remote directory...
it gets to Authenticated pretty fast, then
winscp reports:
Starting the session...
<about 5 seconds elapse>
Reading remote directory...
Re: is FTP server using Nagel? Directory listing is very slow.
I think it may be related to the fact I am running my server for testing on a corp laptop that has very aggressive Anti Virus and data encryption and I think it's somehow affecting the directory listing.
I tried it on my home LAN with non of that crap and it was much better, though for some reason the
second time a client connects it's much faster even on my home LAN
I tried it on my home LAN with non of that crap and it was much better, though for some reason the
second time a client connects it's much faster even on my home LAN
Re: is FTP server using Nagel? Directory listing is very slow.
Yes, enabled antivirus and data encryption may affect speed of directory reading. Directory reading on re-connection may be faster, since the system caches data.