in reply to Re^2: Net::SFTP::Foreign is slow
in thread Net::SFTP::Foreign is slow

What version of the module were you using when you got this output?

Replies are listed 'Best First'.
Re^4: Net::SFTP::Foreign is slow
by ssubrat77 (Novice) on Jul 12, 2011 at 21:35 UTC
    I am using Net::SFTP::Foreign 1.65 and Net_SSH2 0.03
    use Net::SFTP::Foreign; $Net::SFTP::Foreign::debug = 1|32|256;
      Well, the debugging output shows something is going wrong because commands are being pipelined but then responses are arriving late anyway... it makes me think that the problem is not in the module but in plink, in Windows or in the network.

      Where is located the server? is it in the same LAN? data-center? city? country? continent?

      What protocol are you using for the WinSCP tests, SCP or SFTP?

      What Windows version are you using?

      I will try to reproduce the problem myself tomorrow in a Windows machine.

        1) Servers are located in different Continent. 2) Protocol in WinSCP is SFTP and Allow SCP fallback is true 3) Windows version is 2008 Server 64Bit 4) Perl version is v5.10.1 built for MSWin32-x64-multi-thread Please let me know if you need more details on this.