> 
> Hi,
>  
> I have a script which downloads a file from a sftp server. But it takes
> almost 2-3 hours to download a file of 40mb.. while I am able to download
> the same file though SSH Client in 15-20 minutes. Any clues why it is
> happening so.. 
>  

Are you using Net::SFTP??  I hit the same wall roughly a year ago and
assumed it was because of the heavy math/floating point nature of the
protocol, aka with the standard client being in C it is much faster for
such processing.  This isn't much of a satisfactory answer, except that
I can tell you that I experienced the same phenomenon.  Eventually we
decided to do all of our file detection, etc. using the Perl version,
but when it came time to do a transfer we opted for rsync + ssh.  Both
have proven very reliable, HTH,

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to