Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: SFTP on Windows

by syphilis (Archbishop)
on Nov 02, 2010 at 03:57 UTC ( [id://868925]=note: print w/replies, xml ) Need Help??


in reply to Re^3: SFTP on Windows
in thread SFTP on Windows

Just installed Net::SFTP::Foreign::Backend::Net_SSH2 and gave it a try. Couldn't detect any improved performance for a "put" of an 8Mb file over a local connection - but the coding is so much simpler (no need to come up with my own "put" subroutine), and it's far more flexible than Net::SSH2.

Nice work, salva. I'll certainly be making good use of this module from now on.

Cheers,
Rob

Update: The sftp transfer of that file takes about 30 seconds. I've just checked the time it takes to scp_put() the same file and it's only about 4 seconds !!
Is that time disparity to be expected ?

Replies are listed 'Best First'.
Re^5: SFTP on Windows
by salva (Canon) on Nov 02, 2010 at 11:15 UTC
    The sftp transfer of that file takes about 30 seconds. I've just checked the time it takes to scp_put() the same file and it's only about 4 seconds !! Is that time disparity to be expected ?

    No, Net::SFTP::Foreign put and get should be as fast as the scp alternatives. It seems you have found a bug...

    Update: There was a bug! A new version of the module is replicating through the CPAN.

      A new version of the module is replicating through the CPAN

      Yes, that fixes it! The sftp put is now as fast as the scp put.
      Thanks.

      Cheers,
      Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://868925]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-18 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found